From 2f6773d61598130b4124de0468df84808def2094 Mon Sep 17 00:00:00 2001 From: Mohammad Golam Dostogir Date: Fri, 5 Jan 2024 14:34:11 +0000 Subject: [PATCH] Update chapter-4.1 example Updated the example method of exclude. This fixes #62 --- docs/notequal_query.rst | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/notequal_query.rst b/docs/notequal_query.rst index 444d8ba..429b34c 100644 --- a/docs/notequal_query.rst +++ b/docs/notequal_query.rst @@ -22,11 +22,7 @@ Our SQL query for the above condition will look something like :: .. image:: sqluser_notquery.png -Method 1 using exclude - -.. code-block - - +Method 1 using exclude :: >>> queryset = User.objects.exclude(id__lt=5) >>> queryset