2010/8/6 Reinout van Rees <rein...@vanrees.org>:

> The solution: in my ui project I have a ui/realbase.html that is extended by
> ui/base.html.  The only code in ui/base.html is the "extends" line!  So
> overriding that one is inexpensive.

I've used the same solution, but it would be nice to have a tag to
enable those extends without empty templates, for DRY principle and
because usually you don't want to change a library template at all,
and with this you have to move to realbase.html.


-- 
Alessandro Ronchi
http://www.soasi.com

Hobby & Giochi
http://hobbygiochi.com
http://www.facebook.com/hobbygiochi

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to