From 9621f1d1dcde09617a2f9bf9908affece64ef643 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Wed, 16 Oct 2013 10:54:40 +0200 Subject: Allow @templated to be called raw, i.e. w/o () --- app/views/login.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/login.py') diff --git a/app/views/login.py b/app/views/login.py index 333a330..7b46665 100644 --- a/app/views/login.py +++ b/app/views/login.py @@ -11,7 +11,7 @@ from flask import redirect mod = Blueprint('login', __name__) @mod.route('/login', methods=('GET', 'POST')) -@templated() +@templated def login(): form = LoginForm(flash=u"Login fehlgeschlagen!") -- cgit v1.2.3-54-g00ecf