apache/django.wsgi
author Shantanu <shantanu@fossee.in>
Mon, 25 Jan 2010 16:08:52 +0530
changeset 18 ec62a2a6828b
parent 5 a1fe7806d6a0
permissions -rw-r--r--
Added welkin to poc.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5
a1fe7806d6a0 Added apache wsgi scripts.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     1
import os
a1fe7806d6a0 Added apache wsgi scripts.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     2
import sys
a1fe7806d6a0 Added apache wsgi scripts.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     3
a1fe7806d6a0 Added apache wsgi scripts.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     4
sys.path.append('/home/hg/repos/')
a1fe7806d6a0 Added apache wsgi scripts.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     5
a1fe7806d6a0 Added apache wsgi scripts.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     6
os.environ['DJANGO_SETTINGS_MODULE'] = 'ws_reg.settings'
a1fe7806d6a0 Added apache wsgi scripts.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     7
a1fe7806d6a0 Added apache wsgi scripts.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     8
import django.core.handlers.wsgi
a1fe7806d6a0 Added apache wsgi scripts.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     9
application = django.core.handlers.wsgi.WSGIHandler()
a1fe7806d6a0 Added apache wsgi scripts.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
    10