django - How do I disable CSRF in Django1.7? -
It seems that @ CSRF_nation is not working any more than Jigon 1.4, I try to use those different solutions I am getting the stack overflow, like removing some middleware classes or adding a custom one, but I can not stop getting "CSRF verification failed" I just have to disable it for a login view which I Your android ai I am experimenting with P.
If you are using a class based view, you can use the mixer for it :
Class UpdateProfileView (CsrfExemptMixin, LoginRequiredMixin, UpdateView): Model = Profile
Comments
Post a Comment