From d64e80b53fa82af41c6e49b9de08632348c3527a Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Wed, 16 Oct 2013 00:33:38 +0200 Subject: Print username or description in title --- app/views/__init__.py | 1 + 1 file changed, 1 insertion(+) (limited to 'app/views/__init__.py') diff --git a/app/views/__init__.py b/app/views/__init__.py index 101f393..c9d9e8f 100644 --- a/app/views/__init__.py +++ b/app/views/__init__.py @@ -23,6 +23,7 @@ __all__ = [ mobile_checks = ['J2ME', 'Opera Mini'] app.add_template_global(zip) +app.add_template_global(current_user) @app.before_request def handle_mobile(): -- cgit v1.2.3-54-g00ecf