Correction to documentation on get(**kwargs) queryset method
|Reported by:||daveyjoe||Owned by:||nobody|
|Severity:||Keywords:||documentation get queryset|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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 Changed 8 years ago by mtredinnick
- Resolution set to fixed
- Status changed from new to closed