This commit is contained in:
zandercymatics 2023-10-02 12:56:22 -06:00
parent cf0b342bbb
commit bb66043e59
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -723,9 +723,7 @@ class DomainAdmin(ListHeaderAdmin):
# Could be problematic if the type is similar, # Could be problematic if the type is similar,
# but not the same (same field/func names). # but not the same (same field/func names).
# We do not want to accidentally delete records. # We do not want to accidentally delete records.
self.message_user( self.message_user(request, "Object is not of type Domain", messages.ERROR)
request, "Object is not of type Domain", messages.ERROR
)
return return
try: try: