Readd domain notes

This commit is contained in:
zandercymatics 2024-01-25 09:14:58 -07:00
parent 5c16a2b5e8
commit 76f3704de7
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
2 changed files with 7 additions and 1 deletions

View file

@ -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"]},
),
)

View file

@ -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