changeset 146:105bb08570ed

Also display the Jinja version
author Benoît Allard <benoit.allard@greenbone.net>
date Fri, 31 Oct 2014 12:00:15 +0100
parents b3129fdd1ab0
children 0f19ece4e7e5
files farol/main.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/farol/main.py	Fri Oct 31 09:56:42 2014 +0100
+++ b/farol/main.py	Fri Oct 31 12:00:15 2014 +0100
@@ -40,6 +40,7 @@
 from flask import (Flask, request, render_template, redirect, url_for, flash,
      make_response, abort)
 from werkzeug import secure_filename
+import jinja2
 
 from . import __version__, cache
 from .document import document
@@ -204,6 +205,6 @@
 def about():
     versions = ((platform.python_implementation(), platform.python_version()),
                 ('Farol', __version__), ('FarolLuz', farolluz.__version__),
-                ('Flask', flask.__version__))
+                ('Flask', flask.__version__), ('Jinja', jinja2.__version__))
     return render_template('about.j2', instance_dir=app.instance_path, versions=versions)
 

http://farol.wald.intevation.org