$ errors.fyi/django/ObjectDoesNotExist 163 namespaces · 4,919 codes
django · django/ObjectDoesNotExist
ObjectDoesNotExist

ObjectDoesNotExist

Base class for all model-specific DoesNotExist exceptions. Catching ObjectDoesNotExist handles missing-record errors for any model type in a single except clause, useful in generic views and shared utility functions.

References

In this namespace

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