mirror of
https://github.com/django/django.git
synced 2025-07-07 21:35:15 +00:00
![]() Raising DatabaseError directly made it harder than it should to differentiate between IntegrityError when a forced update resulted in no affected rows. Introducing a specialized exception allows for callers to more easily silence, log, or turn them update failures into user facing exceptions (e.g. 404s). Thanks Mariusz for the review. |
||
---|---|---|
.. | ||
__init__.py | ||
models.py | ||
tests.py |