Fix import in viewdecorators.rst for @templated

This commit is contained in:
Andrew Plummer 2014-03-26 16:40:25 +00:00
parent d4fec14544
commit db1be12aea

View file

@ -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):