SEESenv/web/hgbook/run.wsgi
changeset 21 5f66214fce86
parent 20 35027af14f21
child 22 a27f1e69d966
equal deleted inserted replaced
20:35027af14f21 21:5f66214fce86
    34     sys.path.append('/home/amit/SEES-hacks/SEESenv/web')
    34     sys.path.append('/home/amit/SEES-hacks/SEESenv/web')
    35     sys.path.append('/home/amit/SEES-hacks/SEESenv/web/hgbook/comments')
    35     sys.path.append('/home/amit/SEES-hacks/SEESenv/web/hgbook/comments')
    36 else:
    36 else:
    37     sys.path.append('/home/hg/repos/SEES-hacks/SEESenv/web')
    37     sys.path.append('/home/hg/repos/SEES-hacks/SEESenv/web')
    38     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')
       
    39 print >> sys.stderr , sys.path
    39 os.environ['DJANGO_SETTINGS_MODULE'] = 'hgbook.settings'
    40 os.environ['DJANGO_SETTINGS_MODULE'] = 'hgbook.settings'
    40 #import hgbook
    41 
    41 import django.core.handlers.wsgi
    42 import django.core.handlers.wsgi
    42 #print >> sys.stderr , hgbook
    43 
    43 print >> sys.stderr , django.core.handlers.wsgi.WSGIRequest.GET
    44 print >> sys.stderr , django.core.handlers.wsgi.WSGIRequest.GET
    44 application = django.core.handlers.wsgi.WSGIHandler()
    45 application = django.core.handlers.wsgi.WSGIHandler()
    45 print >> sys.stderr , django.core.handlers.wsgi.WSGIRequest.GET
    46 print >> sys.stderr , django.core.handlers.wsgi.WSGIRequest.GET
    46 _application = django.core.handlers.wsgi.WSGIHandler()
    47 _application = django.core.handlers.wsgi.WSGIHandler()
    47 #print >> sys.stderr , django.core.handlers.wsgi.WSGIRequest.GET    
    48 #print >> sys.stderr , django.core.handlers.wsgi.WSGIRequest.GET