Add ready_at column and test date range against it for READY domains (growth report)

This commit is contained in:
Rachid Mrad 2023-12-21 12:22:03 -05:00
parent cb16f5eb96
commit 4b38c4abc8
No known key found for this signature in database
GPG key ID: EF38E4CEC4A8F3CF
7 changed files with 60 additions and 13 deletions

View file

@ -711,6 +711,7 @@ class DomainApplication(TimeStampedModel):
# Only reject if it exists on EPP
if domain_state != Domain.State.UNKNOWN:
self.approved_domain.deletedInEpp()
self.approved_domain.save()
self.approved_domain.delete()
self.approved_domain = None
@ -740,6 +741,7 @@ class DomainApplication(TimeStampedModel):
# Only reject if it exists on EPP
if domain_state != Domain.State.UNKNOWN:
self.approved_domain.deletedInEpp()
self.approved_domain.save()
self.approved_domain.delete()
self.approved_domain = None