Go to Google Groups Home    Django developers
Re: Model.objects.get() raises AssertionError on multiple values

Gary Wilson <gary.wil...@gmail.com>

On Feb 14, 8:54 am, "Rob Hudson" <treborhud...@gmail.com> wrote:

> I'm wondering if maybe get should raise an error with a name like
> "MultipleValueError" rather than "AssertionError" when multiple values
> are found...

+1