Hi,
-- I wonder how would I access context and set the key/value pair from within custom template tag?
Later on I want to access context object in djang-debug-toolbar panel with
from django.template import RequestContext; rc = RequestContext(request)
rc contains all the context that had been passed on to TemplateResponse within the view, o I want to add few more there from the template tag and just cant figure out how.
Thanks a lot for any ideas!
Tom
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/094700ff-64a0-4883-91ce-fec5c554f1f9%40googlegroups.com.
No comments:
Post a Comment