mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-17 03:39:25 +00:00
Update the WSGI to use production
This commit is contained in:
@@ -3,5 +3,5 @@ import os
|
|||||||
import django.core.handlers.wsgi
|
import django.core.handlers.wsgi
|
||||||
|
|
||||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "app")))
|
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "app")))
|
||||||
os.environ['DJANGO_SETTINGS_MODULE'] = 'app.settings'
|
os.environ['DJANGO_SETTINGS_MODULE'] = 'app.conf.production'
|
||||||
application = django.core.handlers.wsgi.WSGIHandler()
|
application = django.core.handlers.wsgi.WSGIHandler()
|
||||||
|
|||||||
Reference in New Issue
Block a user