Skip to content

Commit

Permalink
Update chapter-4.1 example
Browse files Browse the repository at this point in the history
Updated the example method of exclude.
This fixes agiliq#62
  • Loading branch information
dostogircse171 committed Jan 5, 2024
1 parent d882d2f commit 2f6773d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions docs/notequal_query.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2f6773d

Please sign in to comment.