#34463 closed Cleanup/optimization (fixed)
WHERE clause example missing from Q() documentation
Reported by: | ExTexan | Owned by: | Yahya Ali |
---|---|---|---|
Component: | Documentation | Version: | 4.2 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
On this page:
https://docs.djangoproject.com/en/4.2/topics/db/queries/#complex-lookups-with-q-objects
...a short way down from the section title: "Complex lookups with Q objects"
...is a line that says: "This is equivalent to the following SQL WHERE clause:"
but the WHERE clause is not shown.
Change History (7)
comment:1 by , 20 months ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 20 months ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 20 months ago
Has patch: | set |
---|
comment:5 by , 20 months ago
Triage Stage: | Accepted → Ready for checkin |
---|
Note:
See TracTickets
for help on using tickets.
Great catch! There is a typo in the docs source, it should be
.. code-block:: sql
, so the second:
is missing. Would you like to prepare a patch?Please fix also the same typo in docs/topics/i18n/translation.txt.