The template loader shouldn't care about the request; that would be to tightly coupled. The only thing I could think of would be to add **kwargs support to the loader functions so one could indeed pass arbitrary data done the road… This way one could write a TemplateLoader acting on request if it's in kwargs and fallback to whatever if it's not there.
Just my 2 cents, Florian -- You received this message because you are subscribed to the Google Groups "Django developers" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-developers/-/Dim85OKAu0UJ. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.