1
0
mirror of https://github.com/django/django.git synced 2025-03-13 02:40:47 +00:00
Simon Charette ab148c02ce Fixed #33579 -- Specialized exception raised on forced update failures.
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.
2025-03-10 21:09:15 +01:00
..
2024-01-26 12:45:07 +01:00
2023-04-17 06:55:32 +02:00
2023-04-17 06:55:32 +02:00
2023-07-21 12:54:38 +02:00
2023-04-17 06:55:32 +02:00
2023-10-09 09:55:52 +02:00
2024-11-27 13:13:28 -03:00
2023-04-17 06:55:32 +02:00
2022-09-05 05:21:23 +02:00
2022-11-01 06:54:19 +01:00
2022-12-06 09:56:43 +01:00
2023-01-02 08:10:59 +01:00
2023-04-05 06:09:31 +02:00
2023-06-05 08:21:56 -03:00
2023-08-01 13:30:05 -03:00
2023-12-04 09:24:31 +01:00
2024-04-03 11:12:03 -03:00
2024-10-08 11:37:30 -03:00
2024-11-05 05:55:58 +01:00
2025-03-06 13:31:08 +01:00
2025-03-06 13:31:08 +01:00