pymove3d.py
changeset 164 fe7b685bf6ed
parent 163 c87c8fe6c9bf
child 165 74c4a410b913
     1.1 --- a/pymove3d.py	Sun Jan 19 12:30:28 2014 +0100
     1.2 +++ b/pymove3d.py	Sun Jan 19 12:38:29 2014 +0100
     1.3 @@ -104,7 +104,9 @@
     1.4  
     1.5  @app.route("/privacy")
     1.6  def privacy():
     1.7 -    return render_template(get_locale() + "/privacy.html", act="privacy")
     1.8 +    filename = os.path.join("templates", get_locale(), "rst", "privacy.rst")
     1.9 +    content = get_content(filename)
    1.10 +    return render_template("/privacy.html", act="privacy", content=content)
    1.11  
    1.12  @app.route("/competition/2013")
    1.13  def competition_2013():
Impressum Datenschutzerklärung