Opened 5 years ago

Closed 5 years ago

#20067 closed Cleanup/optimization (invalid)

Managet Queryset Typo

Reported by: Ramces Chirino <ramces@…> Owned by: nobody
Component: Documentation Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no


The documentation method to override the default Model Manager queryset is incorrect in the dev version. This method begins to appear after Modifying Initial Manager QuerySets (, and continue throughout the page.

Incorrect version

Correct version

I confirmed this appears correctly in v1.4 and v1.5 documentation. The error is only in the dev version.

Change History (2)

comment:1 Changed 5 years ago by Anssi Kääriäinen

Triage Stage: UnreviewedAccepted
Type: UncategorizedCleanup/optimization
Version: 1.5master

The method's name has been changed for consistency throughout Django. In 1.5 and earlier methods/properties were sometimes spelled query_set but in most places queryset. So, get_query_set has been renamed to get_queryset in the development version.

I think a versionchanged note in there would be useful, so marking as accepted.

comment:2 Changed 5 years ago by Aymeric Augustin

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top