From 1024b5e74a7166313ad4e4975a15e90dccd3ec5f Mon Sep 17 00:00:00 2001 From: David Smith Date: Fri, 23 Jul 2021 07:48:16 +0100 Subject: Fixed 32956 -- Lowercased spelling of "web" and "web framework" where appropriate. --- docs/ref/models/querysets.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/ref/models/querysets.txt') diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index efa28ee145..4dafa7b3bf 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -9,7 +9,7 @@ material presented in the :doc:`model ` and :doc:`database query ` guides, so you'll probably want to read and understand those documents before reading this one. -Throughout this reference we'll use the :ref:`example Weblog models +Throughout this reference we'll use the :ref:`example blog models ` presented in the :doc:`database query guide `. @@ -2685,7 +2685,7 @@ For example, to delete all the entries in a particular blog:: # Delete all the entries belonging to this Blog. >>> Entry.objects.filter(blog=b).delete() - (4, {'weblog.Entry': 2, 'weblog.Entry_authors': 2}) + (4, {'blog.Entry': 2, 'blog.Entry_authors': 2}) By default, Django's :class:`~django.db.models.ForeignKey` emulates the SQL constraint ``ON DELETE CASCADE`` — in other words, any objects with foreign @@ -2696,7 +2696,7 @@ For example:: # This will delete all Blogs and all of their Entry objects. >>> blogs.delete() - (5, {'weblog.Blog': 1, 'weblog.Entry': 2, 'weblog.Entry_authors': 2}) + (5, {'blog.Blog': 1, 'blog.Entry': 2, 'blog.Entry_authors': 2}) This cascade behavior is customizable via the :attr:`~django.db.models.ForeignKey.on_delete` argument to the -- cgit v1.3