os.environ['DJANGO_SETTINGS_MODULE'] = 'project_name.settings.base'
Django settings in wsgi.py
In wsgi.py, don't use os.environ.setdefault because another uwsgi vassal may have set the environ already. Set the dictionary directly.
0 comments:
Post a Comment