#9432 closed (fixed)
Negation operator missing from Q Objects documentation
Description ¶
http://docs.djangoproject.com/en/dev/topics/db/queries/#complex-lookups-with-q-objects
The documentation should state that the unary negation operator "~" can be used on a Q object.
The "see also" note which links to http://code.djangoproject.com/browser/django/trunk/tests/modeltests/or_lookups/models.py does provide an example usage of the negation operator.
Change History (2)
comment:1 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 16 years ago
Note:
See TracTickets
for help on using tickets.
(In [9267]) Fixed #9432 -- Revived documentation of ~Q usage.