mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
[1.5.x] Typo in i18n docs.
112c6e987dbe789c8eb1889852f6056131c8d4d6 from master.
This commit is contained in:
parent
6f29147488
commit
e7ab0d35c1
@ -353,7 +353,7 @@ It is recommended to always provide explicit
|
|||||||
:attr:`~django.db.models.Options.verbose_name` and
|
:attr:`~django.db.models.Options.verbose_name` and
|
||||||
:attr:`~django.db.models.Options.verbose_name_plural` options rather than
|
:attr:`~django.db.models.Options.verbose_name_plural` options rather than
|
||||||
relying on the fallback English-centric and somewhat naïve determination of
|
relying on the fallback English-centric and somewhat naïve determination of
|
||||||
verbose names Django performs bu looking at the model's class name::
|
verbose names Django performs by looking at the model's class name::
|
||||||
|
|
||||||
from django.utils.translation import ugettext_lazy as _
|
from django.utils.translation import ugettext_lazy as _
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user