Create a gist now

Instantly share code, notes, and snippets.

anonymous /
Created Mar 8, 2013

What would you like to do?
#!/usr/bin/env python
# Copyright 2012 Cometoide.
# @author: samiq
import os
import webapp2
import base_handlers
from public import content
app = webapp2.WSGIApplication([
# Public Handlers
('/form?$', content.Home),
('/?$', content.Login),
('/logout?$', content.LogoutHandler),
('/oauthcallback?$', content.CallbackHandler),
('/formprocess?$', content.FormProcess),
('/.*', base_handlers.NotFoundHandler)
], debug=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment