Skip to content

When validating input prevent serializer.data being accessed until .is_valid() is called. #2289

Closed
@tomchristie

Description

@tomchristie

See #2276, #2284 for examples of this causing confusion...

Folks attempting to access .data inside internal methods on serializer.

Error should probably mention .initial_data.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions