Added expert review/edit document
This commit is contained in:
@@ -10,4 +10,11 @@ class EmailConfirmation(models.Model):
|
||||
confirmed = models.BooleanField(default=False)
|
||||
|
||||
def is_expired(self):
|
||||
return now() > (self.created_at + timedelta(days=1))
|
||||
return now() > (self.created_at + timedelta(days=1))
|
||||
|
||||
class ExpertAnalysisEmails(models.Model):
|
||||
email = models.EmailField(unique=True)
|
||||
created_at = models.DateTimeField(auto_now_add=True)
|
||||
|
||||
def __str__(self):
|
||||
return self.email
|
||||
Reference in New Issue
Block a user