Create a gist now

Instantly share code, notes, and snippets.

anonymous /main.py
Created Mar 8, 2013

#!/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