Kaydet (Commit) 57ba5bf9 authored tarafından Grzegorz Rożniecki's avatar Grzegorz Rożniecki Kaydeden (comit) Baptiste Mispelon

Added some links in i18n documentation

üst bb83a326
......@@ -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',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment