mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-15 17:17:02 +02:00
Readd domain notes
This commit is contained in:
parent
5c16a2b5e8
commit
76f3704de7
2 changed files with 7 additions and 1 deletions
|
@ -994,7 +994,7 @@ class DomainAdmin(ListHeaderAdmin):
|
|||
fieldsets = (
|
||||
(
|
||||
None,
|
||||
{"fields": ["name", "state", "expiration_date", "first_ready", "deleted"]},
|
||||
{"fields": ["name", "state", "expiration_date", "first_ready", "deleted", "domain_notes"]},
|
||||
),
|
||||
)
|
||||
|
||||
|
|
|
@ -992,6 +992,12 @@ class Domain(TimeStampedModel, DomainHelper):
|
|||
help_text="The last time this domain moved into the READY state",
|
||||
)
|
||||
|
||||
domain_notes = models.TextField(
|
||||
null=True,
|
||||
blank=True,
|
||||
help_text="Notes about this domain",
|
||||
)
|
||||
|
||||
def isActive(self):
|
||||
return self.state == Domain.State.CREATED
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue