SEESenv/web/hgbook/run.wsgi
author amit@thunder
Fri, 12 Feb 2010 01:11:21 +0530
changeset 2 52d12eb31c30
parent 1 web/hgbook/run.wsgi@672eaaab9204
child 3 6cee07c589cb
permissions -rwxr-xr-x
Virtual enviroment for SEES-hacks added ...
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
     1
import os
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
     2
import sys
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
     3
import django
2
52d12eb31c30 Virtual enviroment for SEES-hacks added ...
amit@thunder
parents: 1
diff changeset
     4
sys.path.append('/'.join(os.getcwd().split('/')[:-1])')
52d12eb31c30 Virtual enviroment for SEES-hacks added ...
amit@thunder
parents: 1
diff changeset
     5
sys.path.append(os.path.join(os.getcwd(),'comments'))
0
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
     6
os.environ['DJANGO_SETTINGS_MODULE'] = 'hgbook.settings'
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
     7
import django.core.handlers.wsgi
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
     8
application = django.core.handlers.wsgi.WSGIHandler()
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
     9
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
    10
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
    11
8083d21c0020 The first commit of all the required files for the review app
amit@thunder
parents:
diff changeset
    12