django.wsgi
author nishanth
Sat, 05 Jun 2010 16:39:31 +0530
branchanoop
changeset 35 20d3b4230e4f
parent 27 48a86d8956f7
child 36 e291915aded8
permissions -rw-r--r--
modified db path and templates dir path
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
27
48a86d8956f7 added base.html and did needed changes, (forgot to add files in previous commit).
anoop
parents:
diff changeset
     1
import os
48a86d8956f7 added base.html and did needed changes, (forgot to add files in previous commit).
anoop
parents:
diff changeset
     2
import sys
48a86d8956f7 added base.html and did needed changes, (forgot to add files in previous commit).
anoop
parents:
diff changeset
     3
48a86d8956f7 added base.html and did needed changes, (forgot to add files in previous commit).
anoop
parents:
diff changeset
     4
sys.path.append('/var/www/html')
48a86d8956f7 added base.html and did needed changes, (forgot to add files in previous commit).
anoop
parents:
diff changeset
     5
48a86d8956f7 added base.html and did needed changes, (forgot to add files in previous commit).
anoop
parents:
diff changeset
     6
os.environ['DJANGO_SETTINGS_MODULE'] = 'sage_days.settings'
48a86d8956f7 added base.html and did needed changes, (forgot to add files in previous commit).
anoop
parents:
diff changeset
     7
48a86d8956f7 added base.html and did needed changes, (forgot to add files in previous commit).
anoop
parents:
diff changeset
     8
import django.core.handlers.wsgi
48a86d8956f7 added base.html and did needed changes, (forgot to add files in previous commit).
anoop
parents:
diff changeset
     9
application = django.core.handlers.wsgi.WSGIHandler()
48a86d8956f7 added base.html and did needed changes, (forgot to add files in previous commit).
anoop
parents:
diff changeset
    10