#10990: Admin templates that extend base_site.html and override extrahead or
extrastyle should include block.super last
-------------------------------------------+--------------------------------
          Reporter:  kit1980               |         Owner:  nobody
            Status:  new                   |     Milestone:        
         Component:  django.contrib.admin  |       Version:  1.0   
        Resolution:                        |      Keywords:        
             Stage:  Unreviewed            |     Has_patch:  1     
        Needs_docs:  0                     |   Needs_tests:  0     
Needs_better_patch:  0                     |  
-------------------------------------------+--------------------------------
Comment (by lukeplant):

 This is not necessarily a simple decision -- what if the admin templates
 are themselves overriding CSS that is included in base_site.html (or want
 to in the future)?  Or if a developer wants to inherit from one of the
 'lower' templates and do CSS/javascript overriding, rather than customise
 base_site.html?

 For CSS, an alternative solution is `!important` declarations.  For
 javascript, can you do some hackery where my_urlify.js waits for the page
 to load and then monkey patches?  I just want to investigate
 alternatives...

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10990#comment:2>
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