Maybe. We solved that use-case by adding another custom directory to TEMPLATE_DIRS when we had to override the base template. But I can imagine that someone wants to be able to dynamically change the base template, from inside a view or context processor.
This was a choice we made, because almost all the other features depend on this. Having dynamic inheritance means having {% block %} tags processed during rendering, and it means not being able to process any of the HTML/css/js at compile time. For now, I have no intension to change this behaviour, but of course anyone is welcome to contribute. Somehow, I'm still not really convinced of dynamic inheritance. It feels like doing this in Python: class A(random.choice([list,dict])): pass On 28 mar, 18:13, Jacob Kaplan-Moss <ja...@jacobian.org> wrote: > On Mon, Mar 28, 2011 at 11:04 AM, Dan Fairs <dan.fa...@gmail.com> wrote: > > We don't have a core site base template. Each client on our system gets > > their own, as IA/branding etc. varies considerably (and indeed includes > > chunks of markup that the client supplies directly). > > ... and congratulations, you've successfully reversed-engineered the > very use-case that led us to create this feature in the first place! > > Jacob -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.