Re: Customizing extends template tag for mobile version of site

2009-06-06 Thread Andrew Fong
I thought about doing that, but the problem with that approach is it sort of violates the distinction between developer and designer that the Django template system establishes. I'm not sure having the designer muck around in Python to change which template their design extends is a good idea. I'

Re: Customizing extends template tag for mobile version of site

2009-06-06 Thread Matthias Kestenholz
On Fri, Jun 5, 2009 at 6:35 PM, Andrew Fong wrote: > > I was hoping someone could explain to me what the exact behavior would > be if the Extends Node in the template was not first. > > Here's my use-case scenario: I need to maintain separate mobile and > desktop templates for my site. I'm findin

Customizing extends template tag for mobile version of site

2009-06-05 Thread Andrew Fong
I was hoping someone could explain to me what the exact behavior would be if the Extends Node in the template was not first. Here's my use-case scenario: I need to maintain separate mobile and desktop templates for my site. I'm finding out that 90% of my templates would be identical -- the only d