diff options
author | Marian Sigler <m@qjym.de> | 2012-09-27 18:34:57 +0200 |
---|---|---|
committer | Marian Sigler <m@qjym.de> | 2012-09-27 18:34:57 +0200 |
commit | da2882e6cbfb0e267475a4440a8efb486ff0f1b6 (patch) | |
tree | da93fdbde1ca74eef007c747ef5a3c981c72d351 /utils.py | |
parent | 69f7c2e49fd9247111bee70b7afd56c104b1c984 (diff) | |
download | web-da2882e6cbfb0e267475a4440a8efb486ff0f1b6.tar.gz web-da2882e6cbfb0e267475a4440a8efb486ff0f1b6.tar.bz2 web-da2882e6cbfb0e267475a4440a8efb486ff0f1b6.zip |
add list of sites to /about
Diffstat (limited to 'utils.py')
-rw-r--r-- | utils.py | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -28,7 +28,11 @@ def templated(template=None): if template_name is None: template_name = request.endpoint \ .replace('.', '/') + '.html' - ctx = f(*args, **kwargs) + + ctx = { + 'app': current_app, + } + ctx.update(f(*args, **kwargs)) if ctx is None: ctx = {} elif not isinstance(ctx, dict): |