How can I correctly set DJANGO_SETTINGS_MODULE for my Django project (I am using virtualenv)?

Don’t run django-admin.py for anything other than the initial project creation. For everything after that, use manage.py, which takes care of the finding the settings.

Leave a Comment