PR suggestions

This commit is contained in:
zandercymatics 2024-03-26 13:21:40 -06:00
parent 55fd53fb56
commit a70214e467
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
3 changed files with 88 additions and 43 deletions

View file

@ -910,6 +910,9 @@ class DomainInformationAdmin(ListHeaderAdmin):
),
]
# Readonly fields for analysts and superusers
readonly_fields = ("other_contacts",)
# Read only that we'll leverage for CISA Analysts
analyst_readonly_fields = [
"creator",
@ -1120,6 +1123,9 @@ class DomainRequestAdmin(ListHeaderAdmin):
),
]
# Readonly fields for analysts and superusers
readonly_fields = ("other_contacts", "current_websites")
# Read only that we'll leverage for CISA Analysts
analyst_readonly_fields = [
"creator",