Browse Source

Merge pull request #273 from ThomasWaldmann/patch-1

fixed typo
pull/274/merge
Armin Ronacher 14 years ago
parent
commit
c246074c93
  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 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. 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 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 generate URLs from one function to another you would have to still provide

Loading…
Cancel
Save