In your template put in your form:
{% csrf_token %}
example:
{% csrf_token %}
--
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...@
To prevent the CSRF validation you can use the csrf_exempt decorator
https://docs.djangoproject.com/en/1.7/ref/contrib/csrf/#utilities
The normal way to handle a POST request is to issue a redirect (HTTP 302)
after handling the request, but if it is an automated request I guess you
can return an
I am trying to do the following:
1) A payment solution is supposed to send an HTTP Post to my site
2) I would like to read the contents of the request(xml) and update my
records to reflect the payment
I am trying this for the first time. When I create a URL path, and send a
post to that addr
3 matches
Mail list logo