Browse Source

sample WSGI config file

master
Marc Poulhiès 11 years ago
parent
commit
94dce62fe6
  1. 16
      django.wsgi

16
django.wsgi

@ -0,0 +1,16 @@
import os
import sys
path = 'XXXXXX'
if path not in sys.path:
sys.path.append(path)
path = 'YYYYYYY/'
if path not in sys.path:
sys.path.append(path)
os.environ['DJANGO_SETTINGS_MODULE'] = 'ZZZZZZZZZZZZZZ.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
Loading…
Cancel
Save