Re: Is this a quirk with the admin template override mechanism or is it me?

2008-10-29 Thread Steve Holden
AndyB wrote: > I can see why it would fail - but I still wonder whether the current > behaviour is ideal. I would say that it's more likely someone would > want to override a template project wide and I can't see a neat way to > do this. > The easiest way would surely be to add another

Re: Is this a quirk with the admin template override mechanism or is it me?

2008-10-29 Thread AndyB
I can see why it would fail - but I still wonder whether the current behaviour is ideal. I would say that it's more likely someone would want to override a template project wide and I can't see a neat way to do this. --~--~-~--~~~---~--~~ You received this message

Re: Is this a quirk with the admin template override mechanism or is it me?

2008-10-29 Thread Robert Lofthouse
On Oct 29, 1:14 pm, AndyB <[EMAIL PROTECTED]> wrote: > Let's say I want to override change_list.html for an app called 'cms'. > > I create a /admin/cms/change_list.html > > and then call back to the original admin template overriding just want > I want to change: > > {% extends

Is this a quirk with the admin template override mechanism or is it me?

2008-10-29 Thread AndyB
Let's say I want to override change_list.html for an app called 'cms'. I create a /admin/cms/change_list.html and then call back to the original admin template overriding just want I want to change: {% extends "admin/change_list.html" %} {% block extrahead %} ... {% endblock %} However if I