Did I find the right examples for you? yes no

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)

src/w/e/Webapp2-Sample-Applications-HEAD/sample-app-auth/main.py   Webapp2-Sample-Applications(Download)
 
app = webapp2.WSGIApplication(config=config.webapp2_config)
routes.add_routes(app)
 

src/s/t/stackgeek-gaeb-HEAD/main.py   stackgeek-gaeb(Download)
if not app.debug:
    app.error_handlers[500] = handle_error
routes.add_routes(app)
 
 

src/l/i/livepythonconsole-app-engine-HEAD/main.py   livepythonconsole-app-engine(Download)
    app.error_handlers[status_int] = handle_error
 
routes.add_routes(app)
boilerplate_routes.add_routes(app)
admin_routes.add_routes(app)

src/g/a/gae-boilerplate-HEAD/main.py   gae-boilerplate(Download)
        app.error_handlers[status_int] = handle_error
 
routes_theme.add_routes(app)
routes_boilerplate.add_routes(app)
routes_admin.add_routes(app)

src/b/o/bomfu-HEAD/main.py   bomfu(Download)
    app.error_handlers[status_int] = handle_error
 
routes.add_routes(app)
boilerplate_routes.add_routes(app)
admin_routes.add_routes(app)

src/g/a/gae-image-proxy-HEAD/main.py   gae-image-proxy(Download)
app = webapp2.WSGIApplication(debug = os.environ['SERVER_SOFTWARE'].startswith('Dev'), config=webapp2_config)
 
routes.add_routes(app)
 
 

src/s/t/stackgeek-gaeb-HEAD/web/tests/test_handlers.py   stackgeek-gaeb(Download)
        w2config['webapp2_extras.jinja2']['template_path'] =  os.path.join(os.path.join(os.path.dirname(web.__file__), '..'), 'templates')
        self.app = webapp2.WSGIApplication(config=w2config)
        routes.add_routes(self.app)
        self.testapp = webtest.TestApp(self.app, extra_environ={'REMOTE_ADDR' : '127.0.0.1'})
 

src/l/i/livepythonconsole-app-engine-HEAD/web/tests.py   livepythonconsole-app-engine(Download)
        webapp2_config.update(config.config)
        self.app = webapp2.WSGIApplication(config=webapp2_config)
        routes.add_routes(self.app)
        boilerplate_routes.add_routes(self.app)
        self.testapp = webtest.TestApp(self.app, extra_environ={'REMOTE_ADDR' : '127.0.0.1'})