apache/django.wsgi
author Madhusudan.C.S <madhusudancs@gmail.com>
Wed, 02 Sep 2009 21:08:39 +0530
changeset 11 ed77b6c62d61
parent 6 eb8e00312877
permissions -rw-r--r--
Corrected template loading and css.
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