Archived
12 lines
271 B
Python
12 lines
271 B
Python
import os
|
|
import sys
|
|
|
|
os.environ['DJANGO_SETTINGS_MODULE'] = 'snurrweb.settings'
|
|
|
|
path = os.path.dirname(os.path.abspath(__file__))
|
|
if path not in sys.path:
|
|
sys.path.append(path)
|
|
|
|
import django.core.handlers.wsgi
|
|
application = django.core.handlers.wsgi.WSGIHandler()
|