#27313: Admin: Popup Response Template Needs to Be Overridable on an App or 
Model
Basis
-------------------------------+-----------------------------------
     Reporter:  Ustun Ozgur    |      Owner:  nobody
         Type:  Bug            |     Status:  new
    Component:  contrib.admin  |    Version:  1.10
     Severity:  Normal         |   Keywords:  admin popup templates
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  1              |      UI/UX:  0
-------------------------------+-----------------------------------
 In admin, popup response template ( admin/popup_response.html ) is project
 global, unlike change_form or change_list which can be overridden on an
 app or model basis.

 Compare:

 
https://github.com/django/django/blob/12b9aa279f453f0a41c1153393b6211d8352302c/django/contrib/admin/options.py#L1105

 to

 
https://github.com/django/django/blob/master/django/contrib/admin/options.py#L1064-L1067

 Seems like an easy change and I would like to submit a patch in case there
 is a particular reason (security?) this is not customizable.

 popup_response.html was originally added by this ticket:
 https://code.djangoproject.com/ticket/19773

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

Reply via email to