mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-21 18:25:58 +02:00
change stubbed is_active to check against Domain.State.CREATED
This commit is contained in:
parent
08c50fba63
commit
50e1a484d5
1 changed files with 1 additions and 3 deletions
|
@ -301,9 +301,7 @@ class Domain(TimeStampedModel, DomainHelper):
|
|||
# TODO: implement a check -- should be performant so it can be called for
|
||||
# any number of domains on a status page
|
||||
# this is NOT as simple as checking if Domain.Status.OK is in self.statuses
|
||||
|
||||
# NOTE: This was stubbed in all along for 852 and 811
|
||||
return False
|
||||
return self.state == Domain.State.CREATED
|
||||
|
||||
def delete_request(self):
|
||||
"""Delete from host. Possibly a duplicate of _delete_host?"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue