Skip to content

if self.instance causes queryset to be evaluated #81

@rrauenza

Description

@rrauenza

I know this project is possibly declared dead, but just fyi, there are places where the construct:

if instance:
    ....

is used, and I am finding it evaluates the entire queryset, causing long operations.

it probably should be if instance is not None.

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