mirror of
https://github.com/django/django.git
synced 2025-04-21 07:44:36 +00:00
Small update to [1057]
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1058 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
e2b7527f79
commit
9af59f4ba8
@ -96,8 +96,8 @@ If you don't like the verbose name ``gettext_lazy``, you can just alias it as
|
||||
|
||||
Always use lazy translations in Django models. And it's a good idea to add
|
||||
translations for the field names and table names, too. This means writing
|
||||
explicit verbose_name and verbose_names options in the ``META`` class,
|
||||
though::
|
||||
explicit ``verbose_name`` and ``verbose_name_plural`` options in the ``META``
|
||||
class, though::
|
||||
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user