clean up and linting

This commit is contained in:
Rachid Mrad 2023-09-29 13:49:15 -04:00
parent 155baa0200
commit ca327fc094
No known key found for this signature in database
GPG key ID: EF38E4CEC4A8F3CF
3 changed files with 9 additions and 6 deletions

View file

@ -710,7 +710,7 @@ class DomainAdmin(ListHeaderAdmin):
search_fields = ["name"]
search_help_text = "Search by domain name."
change_form_template = "django/admin/domain_change_form.html"
# readonly_fields = ["state"]
readonly_fields = ["state"]
def response_change(self, request, obj):
# Create dictionary of action functions