<s> __author__ = "<STR_LIT>" <EOL> __email__ = "<STR_LIT>" <EOL> import logging <EOL> import os , sys <EOL> os . environ [ '<STR_LIT>' ] = '<STR_LIT>' <EOL> from google . appengine . ext . webapp import util <EOL> from django . conf import settings <EOL> settings . _target = None <EOL> import django . core . handlers . wsgi <EOL> import django . core . signals <EOL> import django . db <EOL> import django . dispatch . dispatcher <EOL> def log_exception ( * args , ** kwds ) : <EOL> logging . exception ( '<STR_LIT>' ) <EOL> django . dispatch . dispatcher . connect ( <EOL> log_exception , django . core . signals . got_request_exception ) <EOL> django . dispatch . dispatcher . disconnect ( <EOL> django . db . _rollback_on_exception , <EOL> django . core . signals . got_request_exception ) <EOL> def main ( ) : <EOL> application = django . core . handlers . wsgi . WSGIHandler ( ) <EOL> util . run_wsgi_app ( application ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> main ( ) </s>
