Tiny formatting tweak.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
d81faf356c
commit
2cadc6b10a
|
@ -926,7 +926,7 @@ define the details of how the relation works.
|
||||||
:ref:`some special syntax <abstract-related-name>` is available.
|
:ref:`some special syntax <abstract-related-name>` is available.
|
||||||
|
|
||||||
If you wish to supress the provision of a backwards relation, you may
|
If you wish to supress the provision of a backwards relation, you may
|
||||||
simply provide a ``related_name`` which ends with a '+' character.
|
simply provide a ``related_name`` which ends with a ``'+'`` character.
|
||||||
For example::
|
For example::
|
||||||
|
|
||||||
user = models.ForeignKey(User, related_name='+')
|
user = models.ForeignKey(User, related_name='+')
|
||||||
|
|
Loading…
Reference in New Issue