I keep getting the following error when doing a migration (python manage.py migrate):
django.db.utils.ProgrammingError: column \"name\" of relation \"django_
Another variant that worked for me (from a blank database) was:
./manage.py makemigrations myappname
./manage.py migrate
A variant which DID NOT work was:
./manage.py makemigrations myappname
./manage.py migrate myappname
Or, rather, the sequence would apparently work the first time, but would not work the second time, complaining then that django_content_type
did not exist.
The working (first 2-line) variant above seems to be idempotent.
(edited: to remove redundant second line from original 3-line working version)