forked from orbit-oss/flask
Fix typo in urlprocessors.rst
This commit is contained in:
parent
c42803f168
commit
28ffe15349
1 changed files with 2 additions and 2 deletions
|
|
@ -39,8 +39,8 @@ generate URLs from one function to another you would have to still provide
|
|||
the language code explicitly which can be annoying.
|
||||
|
||||
For the latter, this is where :func:`~flask.Flask.url_defaults` functions
|
||||
come in. They can automatically inject values into a call for
|
||||
:func:`~flask.url_for` automatically. The code below checks if the
|
||||
come in. They can automatically inject values into a call to
|
||||
:func:`~flask.url_for`. The code below checks if the
|
||||
language code is not yet in the dictionary of URL values and if the
|
||||
endpoint wants a value named ``'lang_code'``::
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue