apache/django.wsgi
author Madhusudan.C.S <madhusudancs@gmail.com>
Thu, 17 Sep 2009 18:48:47 -0400
changeset 2 8d8ada9849be
child 19 eeac221a9a3f
permissions -rw-r--r--
Added a django project for scipy.in.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
8d8ada9849be Added a django project for scipy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     1
import os
8d8ada9849be Added a django project for scipy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     2
import sys
8d8ada9849be Added a django project for scipy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     3
8d8ada9849be Added a django project for scipy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     4
sys.path.append('/home/hg/repos/')
8d8ada9849be Added a django project for scipy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     5
8d8ada9849be Added a django project for scipy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     6
os.environ['DJANGO_SETTINGS_MODULE'] = 'scipy.settings'
8d8ada9849be Added a django project for scipy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     7
8d8ada9849be Added a django project for scipy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     8
import django.core.handlers.wsgi
8d8ada9849be Added a django project for scipy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     9
application = django.core.handlers.wsgi.WSGIHandler()
8d8ada9849be Added a django project for scipy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    10