django-csrf-protect-form (pypi): Enable CSRF protection only for HTML forms
Keywords: django|html|view|csrf|protect