Skip to content

Have schemas.is_list_view recognise RetrieveAPIView subclasses #5165

Closed
@carltongibson

Description

@carltongibson

If you create a RetrieveAPIView with a fixed URL (using request.user in get_object(), say) then rest_framwork.schemas.is_list_view will return True leasing to schemas with list as the key, where retrieve is desired.

It would be good if is_list_view could recognise this kind of instance.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions