#12041: Wrap messages in block in admin base template
----------------------------------+-----------------------------------------
 Reporter:  bendavis78            |       Owner:  nobody    
   Status:  new                   |   Milestone:            
Component:  django.contrib.admin  |     Version:  SVN       
 Keywords:  messages template     |       Stage:  Unreviewed
Has_patch:  0                     |  
----------------------------------+-----------------------------------------
 Sometimes it is useful to be able to override how messages are displayed
 in the admin site.  For example, if you want to have different message
 types (e.g., error, warning, etc..) you'll need to be able to override the
 messages <ul> in base.html.  Unfortunately, it's not in a block so you'd
 have to copy the entire base.html to your app, which is not good.

 This simple patch wraps it in block tags so it can be overridden.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12041>
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