Closed R2ZER0 closed 5 months ago
Turns out calling "not" on a QuerySet fully evaluates it, making the query. This was causing the OrgDetailView to query all Entities in the db on every call. This PR explicitly checks for None instead instead of using not.
Turns out calling "not" on a QuerySet fully evaluates it, making the query. This was causing the OrgDetailView to query all Entities in the db on every call. This PR explicitly checks for None instead instead of using not.