Last change
on this file since 9380 was 9380, checked in by rick, 13 years ago |
Production is running in wsgi mode
|
-
Property svn:executable
set to
*
|
File size:
290 bytes
|
Line | |
---|
1 | #!/usr/local/bin/python
|
---|
2 | import os
|
---|
3 | import sys
|
---|
4 |
|
---|
5 | sys.path.append(os.path.abspath(os.path.dirname(__file__)))
|
---|
6 |
|
---|
7 | os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
|
---|
8 | os.environ['PYTHON_EGG_CACHE'] = '/tmp/rick'
|
---|
9 |
|
---|
10 | import django.core.handlers.wsgi
|
---|
11 | application = django.core.handlers.wsgi.WSGIHandler()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.