We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
RecursionError
.only
Run bootstrap script.
Go into python manage.py shell_plus.
python manage.py shell_plus
RoleUserAssignment.objects.only('object_id')
Gives a list of object_ids, similar to the normal query
RoleUserAssignment.objects.all()
RecursionError: maximum recursion depth exceeded
Cycle is somehow related to:
File ~/repos/awx/testing/django-ansible-base/ansible_base/rbac/models.py:392, in AssignmentBase.__init__(self, *args, **kwargs) 389 super().__init__(*args, **kwargs) 391 # Cache fields from the associated object_role --> 392 if self.object_role_id and not self.object_id: 393 self.object_id = self.object_role.object_id 394 self.content_type_id = self.object_role.content_type_id
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Bug Summary
Steps to reproduce
Run bootstrap script.
Go into
python manage.py shell_plus
.Expected behavior
Gives a list of object_ids, similar to the normal query
Actual Results
RecursionError: maximum recursion depth exceeded
Cycle is somehow related to:
The text was updated successfully, but these errors were encountered: