apache/django.wsgi
author Madhusudan.C.S <madhusudancs@gmail.com>
Wed, 02 Sep 2009 23:25:20 +0530
changeset 12 0a2b4e85a4ab
parent 6 eb8e00312877
permissions -rw-r--r--
Modified views.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6
eb8e00312877 Updated settings.py with DB info.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     1
import os
eb8e00312877 Updated settings.py with DB info.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     2
import sys
eb8e00312877 Updated settings.py with DB info.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     3
eb8e00312877 Updated settings.py with DB info.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     4
sys.path.append('/home/hg/repos/')
eb8e00312877 Updated settings.py with DB info.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     5
eb8e00312877 Updated settings.py with DB info.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     6
os.environ['DJANGO_SETTINGS_MODULE'] = 'spoken_tut.settings'
eb8e00312877 Updated settings.py with DB info.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     7
eb8e00312877 Updated settings.py with DB info.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     8
import django.core.handlers.wsgi
eb8e00312877 Updated settings.py with DB info.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     9
application = django.core.handlers.wsgi.WSGIHandler()
eb8e00312877 Updated settings.py with DB info.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    10