#25130: Add the ability to specify custom inlinemodeladmin form
-------------------------------+--------------------
Reporter: burhan | Owner: nobody
Type: New feature | Status: new
Component: contrib.admin | Version: 1.8
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
Similar to how `get_form` allows customization of the admin form, there
should be a way to customize the inline admin forms.
For example, if there is custom validation that needs to be done on the
individual inline forms (for example, to raise a `ValidationError`) this
cannot be done easily currently.
I am right now experimenting with `get_formsets_with_inlines` to modify
the individual formsets' forms, but this feels very hackish and I'm not
sure what other side-effects this will have.
--
Ticket URL: <https://code.djangoproject.com/ticket/25130>
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/049.37274ca24ce7adec5274bb15b4a3c735%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.