Re: Getting error in migrate

2018-05-09 Thread Gerald Brown
Some times you will need to run ./manage.py makemigrations and then ./manage.py migrate . By including the it will only makemigration and migrate for a single application instead of for all of the applications. I have found that this helps as I too was having problems with makemigration an

Re: Getting error in migrate

2018-05-09 Thread Pradeep Sharma
I think the problem is that you have already a class brand in your model and you are trying to create other class name brand in your project models..so i suggest check your models.py.. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubsc

Re: Getting error in migrate

2018-05-09 Thread Mansi Thakkar
Yes I did. On Wed, May 9, 2018 at 2:26 PM, Pradeep Sharma wrote: > Did u run the command of py manage.py makemigrations? > > -- > 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,

Re: Getting error in migrate

2018-05-09 Thread Mansi Thakkar
Yes I did the same thing. I run python manage.py makemigrations first and then python manage.py migrate. On Wed, May 9, 2018 at 3:23 PM, James Farris wrote: > To be absolutely clear, you need to make sure if you made changes to > models.py you need to run > $ python manage.py makemigrations > Th

Re: Getting error in migrate

2018-05-09 Thread James Farris
To be absolutely clear, you need to make sure if you made changes to models.py you need to run $ python manage.py makemigrations Then $ python manage.py migrate -James Sent from my mobile device > On May 9, 2018, at 11:26 AM, Pradeep Sharma > wrote: > > Did u run the command of py manage.p

Getting error in migrate

2018-05-09 Thread Pradeep Sharma
Did u run the command of py manage.py makemigrations? -- 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+unsubscr...@googlegroups.com. To post to this

Getting error in migrate

2018-05-09 Thread Mansi Thakkar
Hello Everyone, I am trying to deploy my project using pythonanywhere. I got an error while writing this command python manage.py migrate. Here is attached picture of my error. Please help me solving this problem . Thanks. Best Regards, Mansi Thakkar -- You received this message because yo