示例#1
0
def landing_handler(response):
    response.write(render("landing.html", {'a': 'B'}))
示例#2
0
def home_handler(response):
    response.write(render("feed.html", {'a': 'B'}))
示例#3
0
def search_handler(response):
  response.write(render("search_results.html", {'a': 'B'}))
示例#4
0
def login_handler(response):
  response.write(render("login.html", {'a': 'B'}))
示例#5
0
def template_demo(response):
  response.write(render("test.html", {'a': 'B'}))
示例#6
0
def updateprofile_handler(response):
  response.write(render("update_profile.html", {'a': 'B'}))
示例#7
0
def input_handler(response):
    aih = ActivityInputHandler(activity_dict)
    response.write(render("input_activity.html", aih.get_template_data()))
示例#8
0
def profile_handler(response, user_id):
    poh = ProfileHandler(user_id)
    response.write(render("profile.html", poh.display_profile()))
示例#9
0
def register_handler(response):
    response.write(render("register.html", {'a': 'B'}))