This commit is contained in:
zandercymatics 2023-09-29 14:54:21 -06:00
parent d5b557d443
commit 0d2a89de01
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -729,7 +729,7 @@ class DomainAdmin(ListHeaderAdmin):
obj.save() obj.save()
except RegistryError as err: except RegistryError as err:
# Using variables to get past the linter # Using variables to get past the linter
message1 = f"Cannot delete Domain when in status {obj.status}" message1 = f"Cannot delete Domain when in state {obj.state}"
message2 = "This subdomain is being used as a hostname on another domain" message2 = "This subdomain is being used as a hostname on another domain"
# Human-readable mappings of ErrorCodes. Can be expanded. # Human-readable mappings of ErrorCodes. Can be expanded.
error_messages = { error_messages = {