Changed "language-code" to the more commonly used "language code".

This commit is contained in:
Sebastian Sangervasi 2018-02-21 09:30:56 -05:00 committed by Tim Graham
parent 33ac036a6b
commit 5c4c87e55c
3 changed files with 9 additions and 12 deletions

View file

@ -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.