7 lines
291 B
Python
7 lines
291 B
Python
import os
|
|
import sys
|
|
# put the Django project on sys.path
|
|
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "../")))
|
|
os.environ["DJANGO_SETTINGS_MODULE"] = "rockviewer.settings.production"
|
|
from django.core.handlers.wsgi import WSGIHandler
|
|
application = WSGIHandler() |