#28619: Handle ValidationError in model saving in admin change views
-------------------------------+--------------------------------------
Reporter: Daniel Hahler | Owner: heba1108
Type: New feature | Status: assigned
Component: contrib.admin | Version: 1.11
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Comment (by Tim Graham):
Jon proposed Simon's idea in ticket:28405#comment:2. As I replied there,
I'm not sure if it's feasible. I don't think it makes sense to make the
proposed change to the admin in isolation. If I remember correctly,
someone proposed making a similar change to generic views (can't find the
ticket right now). I believe I closed it as wontfix since, as Simon said,
raising `ValidationError` during `model.save()` isn't a pattern Django
encourages.
--
Ticket URL: <https://code.djangoproject.com/ticket/28619#comment:3>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.b73b6912bc65058e2d70817a4be9ffad%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.