diff options
| author | Grzegorz Rożniecki <xaerxess@gmail.com> | 2014-02-16 12:57:50 +0100 |
|---|---|---|
| committer | Baptiste Mispelon <bmispelon@gmail.com> | 2014-02-16 14:50:32 +0100 |
| commit | 57ba5bf97b13acdaccd6e091e6f23b619a6faedb (patch) | |
| tree | 135bd4a643fe656f96f33e1992c40c1fcd03a767 /docs | |
| parent | bb83a32623ba18de737c7abc81bd2dfae12d7858 (diff) | |
Added some links in i18n documentation
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/i18n/translation.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/topics/i18n/translation.txt b/docs/topics/i18n/translation.txt index da3ebeb96b..62729d55da 100644 --- a/docs/topics/i18n/translation.txt +++ b/docs/topics/i18n/translation.txt @@ -342,8 +342,10 @@ model, do the following:: class MyThing(models.Model): name = models.CharField(help_text=_('This is the help text')) -You can mark names of ``ForeignKey``, ``ManyToManyField`` or ``OneToOneField`` -relationship as translatable by using their ``verbose_name`` options:: +You can mark names of :class:`~django.db.models.ForeignKey`, +:class:`~django.db.models.ManyToManyField` or +:class:`~django.db.models.OneToOneField` relationship as translatable by using +their :attr:`~django.db.models.Options.verbose_name` options:: class MyThing(models.Model): kind = models.ForeignKey(ThingKind, related_name='kinds', |
