Skip to content
Myr

Fix import in viewdecorators.rst for @templated

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Andrew Plummer · committed by Andrew Plummer · parent d4fec14 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/patterns/viewdecorators.rst+1 added-1 removed
125 unmodified lines
126127Here the code for that decorator::128129 from functools import wraps130 from flask import request130 from flask import request, render_template131132 def templated(template=None):133 def decorator(f):134 @wraps(f)
34 unmodified lines