Il 19/11/2013 13:45, huw_at1 ha scritto:
{% csrf_token %}
If you are using the ajax metod, you don't need this tag in the form template.

According with the documentation, you set the csrf token using javascript in the beforeSend part of the javascript code.


Hope I've correctly understood your problem.

Regards.

Giulio

--
 Giulio Calacoci - 2ndQuadrant Italia
 PostgreSQL Training, Services and Support
 giulio.calac...@2ndquadrant.it | www.2ndQuadrant.it

--
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/528B6CFB.2080004%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to