Source

mit-starleague / src / handlers.py

Full commit
"""
Request router for MIT Starleague tournament site.
"""

__author__ = 'Justin Venezuela (jven@mit.edu), Max Nelson (maxnelso@mit.edu)'

from google.appengine.ext.webapp import RequestHandler
from google.appengine.ext.webapp import template
from google.appengine.ext.webapp import WSGIApplication
from google.appengine.ext.webapp.util import run_wsgi_app

class HelloWorldHandler(RequestHandler):
  def get(self):
    return self.response.out.write('Hello, world!')

application = WSGIApplication([
    ('/.*', HelloWorldHandler)], debug=True)

if __name__ == '__main__':
  run_wsgi_app(application)