forked from orbit-oss/flask
fixed typo
This commit is contained in:
parent
c8663e8dab
commit
441c8a5b93
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue