Skip to content

The Viewsets could support POST, PUT, PATCH, etc. #55

@JonathanArns

Description

@JonathanArns

I think it would actually be a very nice API and is a use-case that I currently have.
It would just do what a normal ModelViewset would do to each object individually.
So for example in the object based viewset, you could just apply the appropriate serializer to each list of objects that is in the request.
You know the appropriate serializer, because you are currently using it already to create the same lists when querying the current API.

This behavior would be unambiguous, wouldn't it? And seems pretty intuitive to me, personally.

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