#36249 closed Cleanup/optimization (fixed)
Typo in KT() example in docs/topics/db/queries.txt
| Reported by: | sandipbhalodia | Owned by: | hesham hatem |
|---|---|---|---|
| Component: | Documentation | Version: | 5.1 |
| Severity: | Normal | Keywords: | |
| Cc: | sandipbhalodia | Triage Stage: | Ready for checkin |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
https://docs.djangoproject.com/en/5.1/topics/db/queries/#django.db.models.fields.json.KT
Here In this page find this line.
Dogs.objects.annotate(...
This should be
Dog.objects.annotate(...
Just need to replace "Dogs" to "Dog"
Thanks.
Attachments (1)
Change History (7)
by , 8 months ago
| Attachment: | screen.jpg added |
|---|
comment:1 by , 8 months ago
| Summary: | Documentation typo → Typo in KT() example in docs/topics/db/queries.txt |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
| Type: | Uncategorized → Cleanup/optimization |
comment:2 by , 8 months ago
| Has patch: | set |
|---|---|
| Owner: | set to |
| Status: | new → assigned |
comment:3 by , 8 months ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
Note:
See TracTickets
for help on using tickets.
Thank you!
Next time you can submit a PR without creating a ticket, in general you don't need to create tickets for typos (see https://docs.djangoproject.com/en/5.1/internals/contributing/writing-code/submitting-patches/#typo-fixes-and-trivial-documentation-changes)