active = models.BooleanField(max_length=32)
token = models.CharField(max_length=32)
def check_agreement(self):
from .rest import check_agreement
return check_agreement(self.agreement_id)
active = models.BooleanField(max_length=32)
token = models.CharField(max_length=32)
def check_agreement(self):
from .rest import check_agreement
return check_agreement(self.agreement_id)