Opened 6 hours ago

Last modified 5 hours ago

#36249 new Cleanup/optimization

Typo in KT() example in docs/topics/db/queries.txt

Reported by: sandipbhalodia Owned by:
Component: Documentation Version: 5.1
Severity: Normal Keywords:
Cc: sandipbhalodia Triage Stage: Accepted
Has patch: no 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)

screen.jpg (30.7 KB ) - added by sandipbhalodia 6 hours ago.

Download all attachments as: .zip

Change History (2)

by sandipbhalodia, 6 hours ago

Attachment: screen.jpg added

comment:1 by Sarah Boyce, 5 hours ago

Summary: Documentation typoTypo in KT() example in docs/topics/db/queries.txt
Triage Stage: UnreviewedAccepted
Type: UncategorizedCleanup/optimization

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)

Note: See TracTickets for help on using tickets.
Back to Top