submission date added to home page for domain requests

This commit is contained in:
David Kennedy 2023-12-13 10:14:46 -05:00
parent eb61199d85
commit 2c28863a1c
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
3 changed files with 35 additions and 4 deletions

View file

@ -547,6 +547,14 @@ class DomainApplication(TimeStampedModel):
help_text="Acknowledged .gov acceptable use policy",
)
# submission date records when application is submitted
submission_date = models.DateField(
null=True,
blank=True,
default=None,
help_text="Date submitted",
)
def __str__(self):
try:
if self.requested_domain and self.requested_domain.name: