#23898: django.contrib.admin.actions.delete_selected missing
admin_site.each_context
-------------------------+-------------------------------------------------
     Reporter:           |      Owner:  nobody
  redouane               |     Status:  new
         Type:  Bug      |    Version:  1.7
    Component:           |   Keywords:  delete_selected action,
  contrib.admin          |  each_context, site_title, site_header, site_url
     Severity:  Normal   |  Has patch:  0
 Triage Stage:           |      UI/UX:  0
  Unreviewed             |
Easy pickings:  1        |
-------------------------+-------------------------------------------------
 Hello,
 in django's delete_selected action
 (django.contrib.admin.actions.delete_selected)
 the templates are rendered without admin_site's each_context, and thus
 it always renders the default values for admin_site.each_context() key
 attributes (site_title, site_header, site_url)
 So if you override/use custom values for site_title, site_header, site_url
 they will not be used on the delete_selected action view.

--
Ticket URL: <https://code.djangoproject.com/ticket/23898>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/051.f67e129431467d677c0c4d0987f20ff2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to