From db1be12aea8193487e7f3097d03ea81780525069 Mon Sep 17 00:00:00 2001 From: Andrew Plummer Date: Wed, 26 Mar 2014 16:40:25 +0000 Subject: [PATCH] Fix import in viewdecorators.rst for @templated --- docs/patterns/viewdecorators.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/patterns/viewdecorators.rst b/docs/patterns/viewdecorators.rst index a0948577..46bab334 100644 --- a/docs/patterns/viewdecorators.rst +++ b/docs/patterns/viewdecorators.rst @@ -127,7 +127,7 @@ way you can still use the redirect function or return simple strings. Here the code for that decorator:: from functools import wraps - from flask import request + from flask import request, render_template def templated(template=None): def decorator(f):