Browse Source

fixed typo

pull/273/head
ThomasWaldmann 13 years ago
parent
commit
441c8a5b93
  1. 2
      docs/patterns/urlprocessors.rst

2
docs/patterns/urlprocessors.rst

@ -32,7 +32,7 @@ Consider an application like this::
g.lang_code = lang_code
...
This is an awful lot of reptition as you have to handle the language code
This is an awful lot of repetition as you have to handle the language code
setting on the :data:`~flask.g` object yourself in every single function.
Sure, a decorator could be used to simplify this, but if you want to
generate URLs from one function to another you would have to still provide

Loading…
Cancel
Save