Making adjustments to models.

Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
Cliff Hill
2023-11-22 08:36:37 -05:00
parent d1dec155b6
commit d433fbdeda
+1 -1
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