public
anonymous / main.py
Created

  • Download Gist
main.py
Python
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#!/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)

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.