[Django]-Django/DRF app receives AttributeError: 'function' object has no attribute 'get_extra_actions'

3👍

You cannot use csrf_exempt as a class decorator.

DRF views do not have csrf protection anyway. You should just delete the decorators.

Leave a comment