Fix typo in urlprocessors.rst

This commit is contained in:
Csirmaz Bendegúz 2019-07-30 14:45:06 +02:00 committed by David Lord
parent c42803f168
commit 28ffe15349
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8

View file

@ -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. the language code explicitly which can be annoying.
For the latter, this is where :func:`~flask.Flask.url_defaults` functions For the latter, this is where :func:`~flask.Flask.url_defaults` functions
come in. They can automatically inject values into a call for come in. They can automatically inject values into a call to
:func:`~flask.url_for` automatically. The code below checks if the :func:`~flask.url_for`. The code below checks if the
language code is not yet in the dictionary of URL values and if the language code is not yet in the dictionary of URL values and if the
endpoint wants a value named ``'lang_code'``:: endpoint wants a value named ``'lang_code'``::