mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-21 02:06:03 +02:00
Run linter and formatting changes
This commit is contained in:
parent
67dacffa9f
commit
ecc4d6c89e
4 changed files with 13 additions and 4 deletions
|
@ -342,6 +342,12 @@ class DomainInvitationAdmin(ListHeaderAdmin):
|
|||
]
|
||||
search_help_text = "Search by email or domain."
|
||||
|
||||
# Mark the FSM field 'status' as readonly
|
||||
# to allow admin users to create Domain Invitations
|
||||
# without triggering the FSM Transition Not Allowed
|
||||
# error.
|
||||
readonly_fields = ["status"]
|
||||
|
||||
|
||||
class DomainInformationAdmin(ListHeaderAdmin):
|
||||
"""Customize domain information admin class."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue