#36066: Document that Q objects can be used directly in annotations
-------------------------------------+-------------------------------------
Reporter: Laurent Bergeron | Owner: (none)
Type: | Status: new
Cleanup/optimization |
Component: Database layer | Version: 5.1
(models, ORM) |
Severity: Normal | Resolution:
Keywords: documentation | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):
* stage: Unreviewed => Accepted
* summary:
Documentation about the use of Q objects inside of the annotate method
would be nice.
=> Document that Q objects can be used directly in annotations
* type: New feature => Cleanup/optimization
Comment:
I believe support for this was implemented in #27021
I agree that we could add something in the documentation specific for Q
objects
--
Ticket URL: <
https://code.djangoproject.com/ticket/36066#comment:2>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.