#9432 closed (fixed)
Negation operator missing from Q Objects documentation
Reported by: | David Chandek-Stark | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.0 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
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.