#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 , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 16 years ago
comment:3 by , 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).
(In [9257]) Fixed #9420 -- Fixed an exception type in the documentation of Queryset.get().
Based on a suggestion from daveyjoe.