Add distribution WSGI definition

This commit is contained in:
2013-11-09 20:32:32 +00:00
parent a2476c2346
commit 81372cc716

10
media.wsgi.dist Normal file
View File

@@ -0,0 +1,10 @@
import os
import sys
path = '/path/to/media'
if path not in sys.path:
sys.path.append(path)
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()