#25511: Customize action for "add another" in inline forms
-------------------------------+------------------------------------
     Reporter:  LoveIsGrief    |      Owner:  nobody
         Type:  New feature    |     Status:  new
    Component:  contrib.admin  |    Version:  1.8
     Severity:  Normal         |   Keywords:  customization, options
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+------------------------------------
 Hello,

 I would be nice to be able to have a simple way to customize the behaviour
 when one clicks on "add another <model name>" in the inline forms. At the
 moment one is limited to it creating a new form for a new object.
 In my case it would be necessary to open a popup or call a backend process
 to create a new item and then reload the page.

 Other uses could be logging, adding animations or whatever the user
 desires to add.

 As far as I tell the critical parts are in
 
https://github.com/django/django/blob/master/django/contrib/admin/static/admin/js/inlines.js#L37

 Cheers

--
Ticket URL: <https://code.djangoproject.com/ticket/25511>
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/054.59c887203054c43f70f8feb6b2afd885%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to