#12566: Admin templates rendered from templatetags cannot be overridden by
applications
----------------------------------+-----------------------------------------
 Reporter:  bjj                   |       Owner:  nobody    
   Status:  new                   |   Milestone:            
Component:  django.contrib.admin  |     Version:  1.1       
 Keywords:                        |       Stage:  Unreviewed
Has_patch:  0                     |  
----------------------------------+-----------------------------------------
 For example, if you want to customize the 'actions' dropdown menu you
 might think you could copy in `actions.html` and modify it.  However, it
 is rendered in `change_list.html` by calling the `admin_actions`
 templatetag.  Those templatetags use `register.inclusion_tag` which does
 not search for application- or model-specific versions of a template.

 You can't even work around it by overriding callers like
 `change_list.html` without also overriding the templatetag (copying it and
 changing the template name).

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12566>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.


Reply via email to