Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#29573 closed Cleanup/optimization (fixed)

Add link from per-item aggregation topic discussion to `annotate()` ref.

Reported by: Thomas Güttler Owned by: Vishvajit Pathak
Component: Documentation Version: dev
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

It would be very nice, if there would be links from to topic guide to the API reference.

concrete example: Link from

https://docs.djangoproject.com/en/2.0/topics/db/aggregation/#generating-aggregates-for-each-item-in-a-queryset

to "annotate"

https://docs.djangoproject.com/en/2.0/ref/models/querysets/#annotate

Change History (11)

comment:1 by Carlton Gibson, 6 years ago

Triage Stage: UnreviewedAccepted
Version: 2.0master

OK, yes. A link at the beginning of that section would seem appropriate/useful.

comment:2 by Carlton Gibson, 6 years ago

Summary: Internal links in docs missing: From topic guide to API refAdd link from per-item aggregation topic discussion to `annotate()` ref.

comment:3 by Damir Rakhimov, 6 years ago

OK, yes. A link at the beginning of that section would seem appropriate/useful. (Carlton Gibson)

Is it enough just add link to clause in this statement ?
https://docs.djangoproject.com/en/2.0/topics/db/aggregation/#generating-aggregates-for-each-item-in-a-queryset

Per-object summaries can be generated using the annotate() clause.

comment:4 by Sunitha Selvan, 6 years ago

Owner: changed from nobody to Sunitha Selvan
Status: newassigned

comment:5 by Vishvajit Pathak, 6 years ago

Needs documentation: set
Owner: changed from Sunitha Selvan to Vishvajit Pathak

comment:6 by Vishvajit Pathak, 6 years ago

Has patch: set
Needs documentation: unset

comment:7 by Carlton Gibson, 6 years ago

Patch needs improvement: set

Small cosmetic adjustments needed on the patch. Vishvajit please uncheck 'Patch needs improvement' when those are addressed.

Thanks for the input!

comment:8 by Vishvajit Pathak, 6 years ago

Patch needs improvement: unset

Cosmetic changes are added. Thanks Carlton for the review.

comment:9 by Carlton Gibson, 6 years ago

Triage Stage: AcceptedReady for checkin

comment:10 by Tim Graham <timograham@…>, 6 years ago

Resolution: fixed
Status: assignedclosed

In a48bc0c:

Fixed #29573 -- Added links in aggregation topic guide.

comment:11 by Tim Graham <timograham@…>, 6 years ago

In 56dd80e:

[2.1.x] Fixed #29573 -- Added links in aggregation topic guide.

Backport of a48bc0cec9eaaf47c0b3de186c072cf00011c892 from master

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