Use django-guardian's prefetch mechanism for object permissions #117

Closed
opened 2021-03-20 17:31:48 +01:00 by hansegucker · 3 comments
Owner

Currently, evaluating object permissions costs one to three queries for each row in a query. By using the mechanism described in https://django-guardian.readthedocs.io/en/stable/userguide/performance.html#prefetching-permissions, we can save a lot of query time.

Currently, evaluating object permissions costs one to three queries for each row in a query. By using the mechanism described in https://django-guardian.readthedocs.io/en/stable/userguide/performance.html#prefetching-permissions, we can save a lot of query time.
Author
Owner

created merge request !444 to address this issue

created merge request !444 to address this issue
Author
Owner

mentioned in merge request !444

mentioned in merge request !444
Author
Owner

moved to AlekSIS-Core#407

moved to AlekSIS-Core#407
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
aleksis/AlekSIS-App-Chronos#117
No description provided.