mirror of
https://github.com/django/django.git
synced 2024-12-25 02:26:12 +00:00
Fixed format-o in docs/topics/db/queries.txt
It appears that our infamous villain, Significant Whitespace, has struck again. In this episode, little Timmy finds himself trapped in a code well. He need not despair, however, as Indentation Man has heard his cries for help and sprung into action. With his feline helper, Octocat, at his side, Indentation Man races to the scene, flings open a web-based code editor, and with terrific aplomb, frees Timmy to be the documentation he always wanted to be. Once again Goodness has prevailed. In the fight for readable documentation, no stray whitespace will ever be able to withstand the str.strip()ing nature of....INDENTATION MAN.
This commit is contained in:
parent
84f9741664
commit
70fac984c8
@ -883,9 +883,9 @@ it. For example::
|
|||||||
# This will delete the Blog and all of its Entry objects.
|
# This will delete the Blog and all of its Entry objects.
|
||||||
b.delete()
|
b.delete()
|
||||||
|
|
||||||
This cascade behavior is customizable via the
|
This cascade behavior is customizable via the
|
||||||
:attr:`~django.db.models.ForeignKey.on_delete` argument to the
|
:attr:`~django.db.models.ForeignKey.on_delete` argument to the
|
||||||
:class:`~django.db.models.ForeignKey`.
|
:class:`~django.db.models.ForeignKey`.
|
||||||
|
|
||||||
Note that :meth:`~django.db.models.query.QuerySet.delete` is the only
|
Note that :meth:`~django.db.models.query.QuerySet.delete` is the only
|
||||||
:class:`~django.db.models.query.QuerySet` method that is not exposed on a
|
:class:`~django.db.models.query.QuerySet` method that is not exposed on a
|
||||||
|
Loading…
Reference in New Issue
Block a user