Opened 7 years ago
Closed 7 years ago
#29512 closed Cleanup/optimization (duplicate)
QuerySet pipe operator is undocumented
| Reported by: | Colm O'Connor | Owned by: | nobody |
|---|---|---|---|
| Component: | Documentation | Version: | 2.0 |
| Severity: | Normal | Keywords: | |
| Cc: | Adam Johnson | Triage Stage: | Unreviewed |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Q(x) | Q(y) is documented although combining two querysets using pipe (|) is apparently not.
Change History (3)
comment:1 by , 7 years ago
| Cc: | added |
|---|
comment:2 by , 7 years ago
comment:3 by , 7 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
| Type: | Uncategorized → Cleanup/optimization |
Duplicate of #21333.
Note:
See TracTickets
for help on using tickets.
git blametakes me back to "MERGED MAGIC-REMOVAL BRANCH TO TRUNK" ( https://github.com/django/django/commit/f69cf70ed813a8cd7e1f963a14ae39103e8d5265 ), so it has been there from the early days and it's less surprising it's undocumented.There's also
qs1 & qs2which probably needs documenting too.