Monday, October 22, 2012

Error FORBIDDEN with jQuery-File-Upload

Hi,pal! my question is here : https://github.com/blueimp/jQuery-File-Upload/issues/1792#issuecomment-9670767,
the request.is_ajax()in views.py is true but the request.method is not POST.
the django cannt accept the array from Jquery upload direct (see here ). firebug result is here
it seems there is something wrong about Cross Site Request Forgery protection .  I am confused how to use it . Any guidance would be greatly appreciated.Thanks in advance!!!  (project included in attachment )

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/_GK-tqsAZ4wJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment