From 040957061ea8688454f4a92f60a3a41c5e678a69 Mon Sep 17 00:00:00 2001 From: Sumit Singh <52070590+singh-sumit@users.noreply.github.com> Date: Sun, 8 Aug 2021 23:38:04 +0545 Subject: [PATCH] Uncommenting a commented code Method1 using exclude was not visible. --- 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