equal
deleted
inserted
replaced
23 sys.path[:0] = new_sys_path |
23 sys.path[:0] = new_sys_path |
24 |
24 |
25 import os |
25 import os |
26 import sys |
26 import sys |
27 import django |
27 import django |
|
28 |
|
29 |
|
30 print >>sys.stderr , "My Review App running" |
|
31 |
28 home_dir=os.getenv("HOME") |
32 home_dir=os.getenv("HOME") |
29 if home_dir=='/home/amit': |
33 if home_dir=='/home/amit': |
30 sys.path.append('/home/amit/SEES-hacks/SEESenv/web/') |
34 sys.path.append('/home/amit/SEES-hacks/SEESenv/web/') |
31 sys.path.append('/home/amit/SEES-hacks/SEESenv/web/hgbook/comments') |
35 sys.path.append('/home/amit/SEES-hacks/SEESenv/web/hgbook/comments') |
32 else: |
36 else: |
33 sys.path.append('/home/hg/repos/SEES-hacks/SEESenv/web/') |
37 sys.path.append('/home/hg/repos/SEES-hacks/SEESenv/web/') |
34 sys.path.append('/home/hg/repos/SEES-hacks/SEESenv/web/hgbook/comments') |
38 sys.path.append('/home/hg/repos/SEES-hacks/SEESenv/web/hgbook/comments') |
35 os.environ['DJANGO_SETTINGS_MODULE'] = 'hgbook.settings' |
39 os.environ['DJANGO_SETTINGS_MODULE'] = 'hgbook.settings' |
36 import django.core.handlers.wsgi |
40 import django.core.handlers.wsgi |
37 application = django.core.handlers.wsgi.WSGIHandler() |
41 application = django.core.handlers.wsgi.WSGIHandler() |
|
42 print >> sys.stderr , django.core.handlers.wsgi.WSGIRequest.GET |
38 |
43 |
39 |
44 |
40 |
45 |
41 |
|