Ok, you should be running this command using your manage.py
command in the same manner as you would run makemigrations
and migrate
instead of using django-admin
. (Yes, you can use django-admin
, but then you would need to set the environment variables that manage.py
sets for you.)