Re: Proposal: Add current_app to request and pass it to template loaders.

2011-03-10 Thread Doug Ballance
I too would very much like a request aware template loader. For my project the threadlocals approach was the only way I could find to meet my requirements of a site-based template structure (project has multitenancy) and user selectable template 'themes'. I've tried looking at the django source t

Re: TemplateResponse and loader should handle request

2011-11-09 Thread Doug Ballance
I very much like the idea of an optional keyword argument and fallback. The template loader is one of the few places I've been forced to use threadlocals to get get the job done. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to t