On 23 déc, 11:57, Kura <[email protected]> wrote:
> Thanks. Sadly though I don't want it to extend base.html, I want it to
> replace base.html but only under certain circumstances.

Either I don't get you or you didn't get what I said...

> As an example, base.html will have the current structure:
>
> ______header______
>       |             |
> nav | content | content
>       |             |
> ______footer_______
>
> Where as base2.html will have a different structure:
>
> ______header______
>           content
> ------------------------------
>           content
> ------------------------------
> ______footer_______
>
> So as you can tell the first variation of base.html will have a column
> based layout where as the second variation will have row based
> content.

In this case, you want your Page / Section / whatever template to
extend either base.html or base2.html, right ? If so, what's wrong
with my solution ? Else, please bear with me and try to explain a bit
more clearly...



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to