Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#9420 closed (fixed)

Correction to documentation on get(**kwargs) queryset method

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

Description

Found at: http://docs.djangoproject.com/en/dev/ref/models/querysets/#id5

Incorrect text: "get() raises AssertionError if more than one object was found."

Suggested correction: "get() raises a MultipleObjectsReturned exception if more than one object was found. The MultipleObjectsReturned exception is an attribute of the model class."

Change History (4)

comment:1 by Malcolm Tredinnick, 16 years ago

Resolution: fixed
Status: newclosed

(In [9257]) Fixed #9420 -- Fixed an exception type in the documentation of Queryset.get().
Based on a suggestion from daveyjoe.

comment:2 by Malcolm Tredinnick, 16 years ago

(In [9261]) [1.0.X] Fixed #9420 -- Fixed an exception type in the documentation of
Queryset.get(). Based on a suggestion from daveyjoe.

Backport of r9257 from trunk.

comment:3 by Malcolm Tredinnick, 16 years ago

(In [10598]) Fixed #9420 -- Fixed admin templates CSS.

Removed some unconditional, invalid, IE-specific notations that were
protecting IE 5 users. IE 5 is sufficiently old, we don't really need to
do that and helping that small userbase at the expense of everybody else
was a slight priority inversion.

Patch from G2P and reviwed by Wilson Miner (who made the original
changes).

comment:4 by Collin Anderson, 16 years ago

[10598] actually fixed #9492.

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