3👍
✅
You cannot use csrf_exempt
as a class decorator.
DRF views do not have csrf protection anyway. You should just delete the decorators.
Source:stackexchange.com
3👍
You cannot use csrf_exempt
as a class decorator.
DRF views do not have csrf protection anyway. You should just delete the decorators.