I have a templatetag which generates a form, this therefore requires the {% csrf_token %}
for security, which in turn requires a RequestContext
object instead of the standard Context
object.
Now, the particular templatetag/form in question is included in the header of every page. Currently every page doesn't render_to_response
with a RequestContext
object.
Is there any way in which I can get around this issue without having to changing every view within the entire site to pass through the RequestContext
?
Thanks in advance.