Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
54 lines (31 sloc) 1.52 KB
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
""" Plopquiz Demo
"""
from views import *
def main():
logging.getLogger().setLevel(logging.DEBUG)
application = webapp.WSGIApplication(
[
('/',
PQDemo),
('/intro/?',
PQIntro),
('/rpc/?',
RPCHandler),
('/viewscore/?',
ViewScore),
('/view_ad/?',
ViewAd),
('/quiz/?',
QuizItem),
('/home/?',
PQHome),
],
debug=True)
wsgiref.handlers.CGIHandler().run(application)
if __name__ == "__main__":
main()