pymove3d.py
changeset 123 9eb7837f7332
parent 122 cafae4de01b3
child 141 ea70f3d81676
equal deleted inserted replaced
122:cafae4de01b3 123:9eb7837f7332
    63 
    63 
    64 @app.route("/privacy")
    64 @app.route("/privacy")
    65 def privacy():
    65 def privacy():
    66     return render_template(get_locale() + "/privacy.html", act="privacy")
    66     return render_template(get_locale() + "/privacy.html", act="privacy")
    67 
    67 
    68 
    68 @app.route("/competition/2013")
    69 @app.route(_("/competition-2013"))
       
    70 def competition_2013():
    69 def competition_2013():
    71     return render_template(get_locale() + "/archive/competitions/2013/comptetition_2013.html",
    70     print get_locale() + "/archive/competitions/2013/index.html"
       
    71     return render_template(get_locale() + "/archive/competitions/2013/index.html", 
    72                            act="coursematerial")
    72                            act="coursematerial")
    73 
    73 
    74 @app.route(_("/competition-2014"))
    74 @app.route("/competition/2014")
    75 def competition_2014():
    75 def competition_2014():
    76     return render_template(get_locale() + "archive/competitions/2014/competition_2014.html",
    76     print get_locale() + "/archive/competitions/2014/index.html"
       
    77     return render_template(get_locale() + "/archive/competitions/2014/index.html", 
    77                            act="coursematerial")
    78                            act="coursematerial")
    78 
    79 
    79 @app.route(_("/dates"))
    80 @app.route(_("/dates"))
    80 def dates():
    81 def dates():
    81     return render_template(get_locale() + "/dates.html",
    82     return render_template(get_locale() + "/dates.html",
    86 def page_not_found(e):
    87 def page_not_found(e):
    87     return render_template(get_locale() + "/404.html")
    88     return render_template(get_locale() + "/404.html")
    88 
    89 
    89 if __name__ == "__main__":
    90 if __name__ == "__main__":
    90     app.run(host='localhost', port=5014, debug=True)
    91     app.run(host='localhost', port=5014, debug=True)
    91 
       
    92 
       
Impressum Datenschutzerklärung