Skip to content
Newer
Older
100644 9 lines (8 sloc) 302 Bytes
1c88a36 @bryanveloso Finally found a proper directory structure. Moving settings.py and se…
bryanveloso authored Jun 21, 2008
1 # Establish the enviornment
2 import os, os.path, sys
3 if not os.path.dirname(__file__) in sys.path[:1]:
4 sys.path.insert(0, os.path.dirname(__file__))
5 os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
6
7 # Launch the project!
8 from django.core.handlers.wsgi import WSGIHandler
9 application = WSGIHandler()
Something went wrong with that request. Please try again.