Making adjustments to models.

Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
Cliff Hill
2023-11-21 12:20:00 -05:00
parent d1dec155b6
commit d433fbdeda

View File

@@ -447,7 +447,7 @@ class Organization(db.Model):
return None
@property
def is_active(self):
def agreement_active(self):
return self.agreement and self.agreement.status == AgreementStatus.active
@property