$ errors.fyi/django/MultipleObjectsReturned 164 namespaces · 4,935 codes
django · django/MultipleObjectsReturned
MultipleObjectsReturned

MultipleObjectsReturned

Raised by Model.objects.get() when more than one record matches the given filter. Use filter().first() if multiple results are acceptable, or add further constraints to make the lookup unique.

References

In this namespace

» community-maintained · contribute on GitHub npm i -g errors-fyi && errorfyi ENOENT