Browse Source

Fix import in viewdecorators.rst for @templated

pull/1010/head
Andrew Plummer 11 years ago
parent
commit
db1be12aea
  1. 2
      docs/patterns/viewdecorators.rst

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

Loading…
Cancel
Save