apache/django.wsgi
author Shantanu <shantanu@fossee.in>
Wed, 20 Jan 2010 17:09:52 +0530
changeset 5 a1fe7806d6a0
permissions -rw-r--r--
Added apache wsgi scripts.
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