Hi! Is there a way to access context from within templatetags? Specifically, we only load the templatetags and do the processing when the filters get registered, so we're not using the actual filters or tags {% someting %} in the templates.
What we do is we replace some of the markup (<cms:image id=23 />) with another markup (<img src="..." />), but we'd like to have access to the template's context as well (because this id is "local" to document, which is passed to template via context). >From what I've found, there is no way to pass arguments to load ({% load cms_tags context %}) and context is not available otherwise. Any ideas? Is there perhaps a better to tackle this challenge? Kind regards, Miha. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.