Skip to content

AutoprefetchMixin fails when a one to one relation is used on include #537

@santiavenda2

Description

@santiavenda2

When I use a one to one relation inside include parameter, AutoPrefetchMixin fails with this error: AttributeError: 'ReverseOneToOneDescriptor' object has no attribute 'field'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions