mirror of
https://github.com/django/django.git
synced 2025-07-23 05:05:17 +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. |
||
---|---|---|
.. | ||
class.txt | ||
conditional-expressions.txt | ||
constraints.txt | ||
database-functions.txt | ||
expressions.txt | ||
fields.txt | ||
index.txt | ||
indexes.txt | ||
instances.txt | ||
lookups.txt | ||
meta.txt | ||
options.txt | ||
querysets.txt | ||
relations.txt |