mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-04 06:20:58 +02:00
Starting from django 1.2, the CSRF middleware is enabled by default. However, API calls require parameters passing by POST requests but they cannot be served as they can't contain a CSRF token. This patch removes the CSRF middleware from API requests.