I have a django view that normally receives POSTed data from a web
page. That all works fine. But now we also want to call that view from
a python script. That is failing with a 403 because of a CSRF
mismatch. I can disable CSRF on my view and then it does work from the
script.

Is there some way I can have it work with CSRF with my script?

-- 
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/CACwCsY6tVsLCdNSwi0VnSx2JhGQew%2Be9fTU%2BadgT%2BdL%2BJFNFiw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to