root/django.wsgi

Revision 1080:fbfdd839e40c, 291 bytes (checked in by Alexander Solovyov <[email protected]…>, 17 months ago)

mark django.wsgi as python

Line  
1 # -*- mode: python -*-
2
3 import sys
4 import os
5 import os.path
6
7 if not os.path.dirname(__file__) in sys.path[:1]:
8     sys.path.insert(0, os.path.dirname(__file__))
9 os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
10
11 from django.core.handlers.wsgi import WSGIHandler
12 application = WSGIHandler()
13
Note: See TracBrowser for help on using the browser.