$ errors.fyi/django/MultipleObjectsReturned 128 namespaces · 4,025 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