#33579: Raise a specialized exception when Model.save(update_fields) does not affect any rows -------------------------------------+------------------------------------- Reporter: Simon Charette | Owner: Dulalet Type: New feature | Status: assigned Component: Database layer | Version: 4.0 (models, ORM) | Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 1 Needs tests: 1 | Patch needs improvement: 1 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Simon Charette):
* needs_better_patch: 0 => 1 * needs_docs: 0 => 1 * needs_tests: 0 => 1 Comment: Left some comments on the PR. It still needs tests tweaking, some code adjustments, and documentation about `django.core.exceptions.ObjectNotUpdated` and `NotUpdated`. -- Ticket URL: <https://code.djangoproject.com/ticket/33579#comment:12> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/01070191920b4908-4adcc193-af4a-4659-8503-83ac8bc6caa3-000000%40eu-central-1.amazonses.com.