diff options
| author | Sebastian Sangervasi <s.ebastian.sangervasi@gmail.com> | 2018-02-21 09:30:56 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-02-21 09:31:05 -0500 |
| commit | 5c4c87e55c096f093a2323bf05b57cc06d93a257 (patch) | |
| tree | 9a0c1303650fb44a7e527a056b97ea9332ee2d53 /docs/topics | |
| parent | 33ac036a6bcab64ef93d0185f7b55eb57e559d6e (diff) | |
Changed "language-code" to the more commonly used "language code".
Diffstat (limited to 'docs/topics')
| -rw-r--r-- | docs/topics/i18n/translation.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/i18n/translation.txt b/docs/topics/i18n/translation.txt index 6f890dbbaa..31ee71a05e 100644 --- a/docs/topics/i18n/translation.txt +++ b/docs/topics/i18n/translation.txt @@ -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. |
