if you used --app appname, then migrations didn't run. You can use 'heroku run python manage.py migrate blog' (without the single quotes) to migrate the blog app models, or 'heroku run python manage.py migrate' (again without single quotes) to migrate all the models in the project.
-Jorge On Fri, Mar 13, 2020 at 9:36 AM shree hari <shreehari9...@gmail.com> wrote: > heroku run python manage.py migrate --app appname > is the command i used. > > On Friday, March 13, 2020 at 9:21:21 PM UTC+5:30, Philip Mitchell wrote: >> >> what command did you run fro migrations, you need to run heroku migrate >> commands >> >> On Friday, March 13, 2020 at 6:15:17 PM UTC+3, shree hari wrote: >>> >>> here's the paste of the error: https://del.dog/ewoghelahu.txt >>> have already run makemigrations and migrate. It runs fine on my local >>> machine. Can somebody please help me ? >>> >>> -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/c6345f03-1d23-4f4e-98cc-f311c6af0c9b%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/c6345f03-1d23-4f4e-98cc-f311c6af0c9b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANfN%3DK_Q%2B0AdhqExfEn47gzWpyzPvN-xeQvCe3QzNa11ZoZ%2B4w%40mail.gmail.com.