Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Do select_related for ?include #591

Closed
@Anton-Shutik

Description

@Anton-Shutik

I've found that we have nice prefetch_for_includes option on the ModelViewSet.
I would also like select_for_includes mixin that will call add select_related and pass there values accordingly to the mapping.
If you like the idea I'll create PR for that

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions