Saturday, February 13, 2016

Re: Data base connection problem


On Feb 13, 2016 9:42 PM, "ahmed waqas Nasir" <waqasnasir818@gmail.com> wrote:
>
> i have made a model  names STUDENT and when i run migrataion no migration applied but when from admin i tried to browse student i got following error

Have you run 'manage.py makemigrations' to generate a new migration, and then run 'manage.py migrate'? It sounds like you haven't created a new migration file to apply after making your changes.

-James

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2Be%2BciXp7%3D_dCGVRQdD-UrVMXOzJKLAu7or1OZ6BHbGKvKgHbA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment