source: index.wsgi @ 417599cb7d646c99948c942d80c97d519bb551d4

Revision 417599cb7d646c99948c942d80c97d519bb551d4, 277 bytes checked in by Stanislaw Klekot <dozzie@…>, 7 years ago (diff)

Added WSGI script and config snippet for Apache.

  • Property mode set to 100644
Line 
1#!/usr/bin/python
2
3import os
4import sys
5
6path = __file__[0:__file__.rfind('/')]
7if path not in sys.path:
8  sys.path.append(path)
9
10os.environ['DJANGO_SETTINGS_MODULE'] = 'dashwiki.settings'
11
12import django.core.handlers.wsgi
13application = django.core.handlers.wsgi.WSGIHandler()
Note: See TracBrowser for help on using the repository browser.