-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Django 5.0.6 compatibility #18
Comments
Actually, the Contrary, the Therefore, the most probable problem is your own access profile, where you probably use ApplyAblePlugin(
changeable=lambda queryset, request: return False
) instead of properly defined: ApplyAblePlugin(
changeable=lambda queryset, request: return queryset.none()
) |
An error occurs when checking form fields for changes (as far as I understand it).
Django==5.0.6
django-access==0.1.2b2
The error is in the file access/admin.py 498
perm = bool(manager.apply_able(ability, obj.__class__.objects.filter(id=obj.id), request).exists()))
manager.apply_able(ability, obj.__class__.objects.filter(id=obj.id), request)
- already gives bool value,exists()
- unnecessaryHere is the error trace:
The text was updated successfully, but these errors were encountered: