[Django]-Bypassing Django CSRF Protection using external POST Request

5👍

You should use the csrf_exempt decorator to avoid csrf protection in certains view.

You can read the docs for more information

👤esauro

0👍

In case you are using class based views, I’d recommend django-braces which uses a mixin to achieve this, as well as providing other extremely useful mixins.

Leave a comment