#12780: Provide a hook for compound form/formset validation in ModelAdmin
-------------------------------+---------------------------------------
     Reporter:  mrts           |                    Owner:  Ramez Issac
         Type:  New feature    |                   Status:  assigned
    Component:  contrib.admin  |                  Version:  dev
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Accepted
    Has patch:  1              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+---------------------------------------

Comment (by Carlton Gibson):

 Hi Natalia -- good example.

 The inline has access to the parent object, so that direction at least is
 covered.

 For any remaining cases not covered, I'd be inclined to put them in ''"the
 admin is not your app"'' land — just write a custom view: the admin
 doesn't have to do everything, no matter how niche.

 My suspicion is that a hook here would get very little use. (It's been
 inactive for 11 years after all.) Nonetheless every reader of the admin
 site docs would have one more method to read about and understand, before
 coming to the conclusion it wasn't relevant to them. As such, I'd lean (as
 often) towards thinking it probably wouldn't pay its way.

 Thus I'd agree that wontfix is the right conclusion.
 +1

-- 
Ticket URL: <https://code.djangoproject.com/ticket/12780#comment:14>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070187e7fd29a2-0686fcfb-26fc-4800-b609-cf3b07f90959-000000%40eu-central-1.amazonses.com.

Reply via email to