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
An warning should be displayed because of the protected relationships.
AttributeError and traceback
The text was updated successfully, but these errors were encountered:
The error is raised in handle_protectederror when trying to get the absolute_url of a model that do not have a view I.e DeviceTypeToSoftwareImageFile
handle_protectederror
absolute_url
DeviceTypeToSoftwareImageFile
def handle_protectederror(obj_list, request, e): ... err_message += format_html_join( ", ", '<a href="{}">{}</a>', ((dependent.get_absolute_url(), dependent) for dependent in protected_objects[:50]), ) ...
A view for this model could be added or we skip attaching href to models without to an absolute_url
Sorry, something went wrong.
HanlinMiao
Successfully merging a pull request may close this issue.
Environment
Steps to Reproduce
Expected Behavior
An warning should be displayed because of the protected relationships.
Observed Behavior
AttributeError and traceback
The text was updated successfully, but these errors were encountered: