--- a/SEESenv/web/hgbook/run.wsgi Mon Feb 22 18:15:12 2010 +0530
+++ b/SEESenv/web/hgbook/run.wsgi Mon Feb 22 18:19:02 2010 +0530
@@ -36,10 +36,11 @@
else:
sys.path.append('/home/hg/repos/SEES-hacks/SEESenv/web')
sys.path.append('/home/hg/repos/SEES-hacks/SEESenv/web/hgbook/comments')
+print >> sys.stderr , sys.path
os.environ['DJANGO_SETTINGS_MODULE'] = 'hgbook.settings'
-#import hgbook
+
import django.core.handlers.wsgi
-#print >> sys.stderr , hgbook
+
print >> sys.stderr , django.core.handlers.wsgi.WSGIRequest.GET
application = django.core.handlers.wsgi.WSGIHandler()
print >> sys.stderr , django.core.handlers.wsgi.WSGIRequest.GET
--- a/SEESenv/web/hgbook/run.wsgi~ Mon Feb 22 18:15:12 2010 +0530
+++ b/SEESenv/web/hgbook/run.wsgi~ Mon Feb 22 18:19:02 2010 +0530
@@ -31,15 +31,16 @@
home_dir=os.getenv("HOME")
if home_dir=='/home/amit' or home_dir==None:
- sys.path.append('/home/amit/SEES-hacks/SEESenv/web/')
+ sys.path.append('/home/amit/SEES-hacks/SEESenv/web')
sys.path.append('/home/amit/SEES-hacks/SEESenv/web/hgbook/comments')
else:
- sys.path.append('/home/hg/repos/SEES-hacks/SEESenv/web/')
+ sys.path.append('/home/hg/repos/SEES-hacks/SEESenv/web')
sys.path.append('/home/hg/repos/SEES-hacks/SEESenv/web/hgbook/comments')
+print sys.path
os.environ['DJANGO_SETTINGS_MODULE'] = 'hgbook.settings'
-#import hgbook
+
import django.core.handlers.wsgi
-#print >> sys.stderr , hgbook
+
print >> sys.stderr , django.core.handlers.wsgi.WSGIRequest.GET
application = django.core.handlers.wsgi.WSGIHandler()
print >> sys.stderr , django.core.handlers.wsgi.WSGIRequest.GET