forked from orbit-oss/flask
update patterns, snippets, extensions docs
This commit is contained in:
parent
c074422cfd
commit
e01b68e7ee
9 changed files with 71 additions and 71 deletions
|
|
@ -58,7 +58,7 @@ loaded upfront. The trick is to actually load the view function as needed.
|
|||
This can be accomplished with a helper class that behaves just like a
|
||||
function but internally imports the real function on first use::
|
||||
|
||||
from werkzeug import import_string, cached_property
|
||||
from werkzeug.utils import import_string, cached_property
|
||||
|
||||
class LazyView(object):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue