Opened 6 months ago

Closed 6 months ago

Last modified 6 months ago

#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)

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

Download all attachments as: .zip

Change History (7)

by sandipbhalodia, 6 months ago

Attachment: screen.jpg added

comment:1 by Sarah Boyce, 6 months 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)

comment:2 by Sarah Boyce, 6 months ago

Has patch: set
Owner: set to hesham hatem
Status: newassigned

comment:3 by Sarah Boyce, 6 months ago

Triage Stage: AcceptedReady for checkin

comment:4 by GitHub <noreply@…>, 6 months ago

Resolution: fixed
Status: assignedclosed

In e034402:

Fixed #36249 -- Fixed typo in docs/topics/db/queries.txt.

comment:5 by Natalia <124304+nessita@…>, 6 months ago

In 0a61485:

[5.2.x] Fixed #36249 -- Fixed typo in docs/topics/db/queries.txt.

Backport of e03440291b0599934da73b7dfbd2ccf7ec7270d8 from main.

comment:6 by Natalia <124304+nessita@…>, 6 months ago

In d752ec8:

[5.1.x] Fixed #36249 -- Fixed typo in docs/topics/db/queries.txt.

Backport of e03440291b0599934da73b7dfbd2ccf7ec7270d8 from main.

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