mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-03 01:33:32 +02:00
Add the right fields to the readonly list
This commit is contained in:
parent
963feef9b4
commit
100af4fd1c
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ class DomainApplicationAdmin(AuditedAdmin):
|
|||
|
||||
super().save_model(request, obj, form, change)
|
||||
|
||||
readonly_fields = ["status", "creator", "submitter", "is_policy_acknowledged"]
|
||||
readonly_fields = ["creator", "type_of_work", "more_organization_information", "address_line1", "address_line2", "zipcode", "requested_domain", "alternative_domains", "purpose", "submitter", "no_other_contacts_rationale", "anything_else", "is_policy_acknowledged"]
|
||||
|
||||
def get_readonly_fields(self, request, obj=None):
|
||||
if request.user.is_superuser:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue