Hi! I've a problem with django csrf middleware... when I use the template tag csrf_token I get this output:
<div style='display:none'><input type='hidden' name='csrfmiddlewaretoken' value='6bda3605af31dd8595d2a67d0dda827b' /></div>
but I want this output (HTML not xHTML:
<div style='display:none'><input type='hidden' name='csrfmiddlewaretoken' value='6bda3605af31dd8595d2a67d0dda827b'></div>
I tryed to see the code in django.middleware.csrf.CsrfViewMiddleware but with no success :(
So, how can I change the output fo csrf_token tag?
tanks