eskp.py
changeset 845 3ed0b7ffbb50
parent 733 2b46d29ad0d4
child 846 79503af02eb3
     1.1 --- a/eskp.py	Tue May 15 10:00:43 2018 +0200
     1.2 +++ b/eskp.py	Tue May 15 10:25:36 2018 +0200
     1.3 @@ -346,6 +346,13 @@
     1.4      return render_template("/content.html", act="imprint", content=content)
     1.5  
     1.6  
     1.7 +@app.route("/datenschutz")
     1.8 +def imprint():
     1.9 +        filename = os.path.join("templates", get_locale(), "rst", "datenschutz.rst")
    1.10 +            content = get_content(filename)
    1.11 +                return render_template("/content.html", act="datenschutz", content=content)
    1.12 +
    1.13 +
    1.14  @app.errorhandler(404)
    1.15  def page_not_found(e):
    1.16      msg = _(u"Url: %(url)s not found", url=request.url)
Impressum Datenschutzerklärung