Opened 6 years ago

Closed 6 years ago

#18281 closed Cleanup/optimization (fixed)

subtle meaning of wording again?

Reported by: bhp Owned by: nobody
Component: Documentation Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


The get_object_or_404() function takes a Django model as its first argument and an arbitrary number of keyword arguments, which it passes to the MODEL's get() function.

Change History (3)

comment:1 Changed 6 years ago by Keryn Knight <django@…>

The proposed new wording is just as problematic - the get() method is called on a manager or queryset instance, never on the Model class itself.

comment:2 Changed 6 years ago by bhp

I know and agree with that, just changed it as original wording is too misleading.

comment:3 Changed 6 years ago by Aymeric Augustin

Resolution: fixed
Status: newclosed

Fixed #18281 -- Misleading wording in the tutorial.

Thanks bhp for the report.

Changeset: 367379581fe11ff8a5a7b8729829197750c4dbb0

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