mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Changed "language-code" to the more commonly used "language code".
This commit is contained in:
parent
33ac036a6b
commit
5c4c87e55c
3 changed files with 9 additions and 12 deletions
|
@ -1410,8 +1410,8 @@ function will return the URL in the active language. Example::
|
|||
|
||||
.. warning::
|
||||
|
||||
In most cases, it's best to use translated URLs only within a
|
||||
language-code-prefixed block of patterns (using
|
||||
In most cases, it's best to use translated URLs only within a language code
|
||||
prefixed block of patterns (using
|
||||
:func:`~django.conf.urls.i18n.i18n_patterns`), to avoid the possibility
|
||||
that a carelessly translated URL causes a collision with a non-translated
|
||||
URL pattern.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue