Sunday, September 23, 2012

Re: custom upload handlers

Have you read the entire Note under https://docs.djangoproject.com/en/1.4/topics/http/file-uploads/#modifying-upload-handlers-on-the-fly which discusses how the CSRF protection accesses request.POST and therefore prevents changing upload handlers in a view which is CSRF protected? It includes an example of how to change the upload handlers in a view that is not CSRF protected and then forward the request onto a view function which is CSRF protected.

Karen
--
http://tracey.org/kmt/

--
You received this message because you are subscribed to the Google Groups "Django users" group.
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate