mirror of
https://github.com/django/django.git
synced 2024-12-24 10:05:46 +00:00
Merge pull request #428 from donspaulding/patch-1
Removed extra indent in docs/topics/db/queries.txt
This commit is contained in:
commit
6b56aeec6e
@ -886,9 +886,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