Skip to content

Response should raise an error if passed a serializer instance #3236

@lovelydinosaur

Description

@lovelydinosaur

We should guard against accidental Response(serializer), with an error stating "You probably meant serializer.data or serializer.errors".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions