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

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -