mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Reorganise the file structure into a project tree
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import sys
|
||||
import os
|
||||
import django.core.handlers.wsgi
|
||||
|
||||
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
|
||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "../")))
|
||||
os.environ['DJANGO_SETTINGS_MODULE'] = 'app.settings'
|
||||
application = django.core.handlers.wsgi.WSGIHandler()
|
||||
|
||||
Reference in New Issue
Block a user