diff options
Diffstat (limited to 'cnprog.wsgi')
-rw-r--r-- | cnprog.wsgi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cnprog.wsgi b/cnprog.wsgi new file mode 100644 index 00000000..bd3745ee --- /dev/null +++ b/cnprog.wsgi @@ -0,0 +1,8 @@ +#example wsgi setup script +import os +import sys +sys.path.append('/path/above_forum') +sys.path.append('/path/above_forum/forum_dir') +os.environ['DJANGO_SETTINGS_MODULE'] = 'forum_dir.settings' +import django.core.handlers.wsgi +application = django.core.handlers.wsgi.WSGIHandler() |