Re: How to pick a template based on the request object?

2007-07-26 Thread [EMAIL PROTECTED]
Just out of curiosity...why not use the same templates, and switch the css file you are referencing for a different look? On Jul 26, 1:53 pm, "Stefan Matthias Aust" <[EMAIL PROTECTED]> wrote: > I'm searching for the best way to "theme" an application. I'd like to > pick a template based on the

Re: How to pick a template based on the request object?

2007-07-26 Thread Doug B
Using threadlocals and a custom template loader would probably work, just put your loader first in settings.py. http://code.djangoproject.com/wiki/CookBookThreadlocalsAndUser --~--~-~--~~~---~--~~ You received this message because you are subscribed to the