Skip to content

values_list('pk') not working #199

@mihalikv

Description

@mihalikv

If you have FakeQueryset and try to do .values_list('pk') it raises exception that pk field doesn't exists.
This syntax works in plain Django queryset.
Workaround: Just replace pk with id.

Image

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