You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 26, 2024. It is now read-only.
I implemented django-clearcache into our project and came across an issue where it expected our User model to have the attribute is_superuser.
We have a custom User model and permissions setup that does not implement this attribute.
My bandaid was to implement a property for is_superuser that proxies our internal permissions validation check.
One solution could be to add a setting that defines the target User attribute name which defaults to is_superuser.