Skip to content

DjangoResource.as_view should call csrf_exempt #21

Description

@selectnull

DjangoResource as_list and as_detail call csrf_exempt on their super, but as_view is not overriden any custom endpoint method is protected with Django CSRF (and it shouldn't be).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions