Hi,

Many thanks. There is another form in the page which does contain this {% 
csrf_token %} tag. Removing this does remove the warning so this is indeed 
the issue. I just need to write the other form out of the template.

Thanks for the answer :)

On Tuesday, 19 November 2013 13:51:55 UTC, Giulio Calacoci wrote:
>
>  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....@2ndquadrant.it <javascript:> | 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/e599bf09-6e76-45e5-80eb-814986c0260f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to