As an aside, it seems curious to me that in a generally flexible framework like Django a problem like this should have only a dirty solution. I've encountered a few instances where it would be useful to have access to request variables, but there's no way to pass them.
On Oct 13, 3:10 pm, Михаил Лукин <mihail.lu...@googlemail.com> wrote: > Seems that any solution would be dirty, so why don't you set threadlocal > variable with request and monkey-patch template loader? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---