SEESenv/web/hgbook/run.wsgi
changeset 11 a7bd4bca6f6e
parent 10 aff1900403ee
child 16 2e3d2cadbcb6
equal deleted inserted replaced
10:aff1900403ee 11:a7bd4bca6f6e
    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 os.environ['DJANGO_SETTINGS_MODULE'] = 'hgbook.settings'
    39 os.environ['DJANGO_SETTINGS_MODULE'] = 'hgbook.settings'
       
    40 import hgbook
    40 import django.core.handlers.wsgi
    41 import django.core.handlers.wsgi
       
    42 print >> sys.stderr , hgbook
       
    43 print >> sys.stderr , django.core.handlers.wsgi.WSGIRequest.GET
    41 application = django.core.handlers.wsgi.WSGIHandler()
    44 application = django.core.handlers.wsgi.WSGIHandler()
    42 print >> sys.stderr , django.core.handlers.wsgi.WSGIRequest.GET
    45 print >> sys.stderr , django.core.handlers.wsgi.WSGIRequest.GET
    43 _application = django.core.handlers.wsgi.WSGIHandler()
    46 _application = django.core.handlers.wsgi.WSGIHandler()
    44 #print >> sys.stderr , django.core.handlers.wsgi.WSGIRequest.GET    
    47 #print >> sys.stderr , django.core.handlers.wsgi.WSGIRequest.GET    
    45 def application(environ, start_response):
    48 def application(environ, start_response):