From e5a4bf9a10e4d2ded029bb2101f6a08291eda679 Mon Sep 17 00:00:00 2001 From: Mohammad Golam Dostogir Date: Fri, 5 Jan 2024 14:00:10 +0000 Subject: [PATCH] Fix Method-1 example in chapter 4 Updated the example which was not displaying on the chapter. 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