> 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-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment