Fixed bug in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
879222786a
commit
09b5266d64
|
@ -44,7 +44,7 @@ Example::
|
|||
For ``ForeignKey``, ``ManyToManyField`` and ``OneToOneField``, use the
|
||||
``verbose_name`` keyword argument::
|
||||
|
||||
poll = meta.ForeignKey(Poll, "the related poll")
|
||||
poll = meta.ForeignKey(Poll, verbose_name="the related poll")
|
||||
sites = meta.ManyToManyField(Site, verbose_name="list of sites")
|
||||
place = meta.OneToOneField(Place, verbose_name="related place")
|
||||
|
||||
|
|
Loading…
Reference in New Issue