If the DEBUG env var is not set, manage.py assumes we are in production so for example the admin migrations do not get run (basically any management command that would have vars taken from env).
Either update manage.py to load the .env or find another way to ensure it is respected. Changing the manage.py is not a great idea since it would get overwritten on a Django upgrade.
If the DEBUG env var is not set, manage.py assumes we are in production so for example the admin migrations do not get run (basically any management command that would have vars taken from env).
Either update manage.py to load the
.envor find another way to ensure it is respected. Changing themanage.pyis not a great idea since it would get overwritten on a Django upgrade.