aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/payments/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'alphabetlearning/payments/models.py')
-rw-r--r--alphabetlearning/payments/models.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/alphabetlearning/payments/models.py b/alphabetlearning/payments/models.py
index 7a8c7bb..0702427 100644
--- a/alphabetlearning/payments/models.py
+++ b/alphabetlearning/payments/models.py
@@ -1,3 +1,5 @@
+import uuid
+
from django.conf import settings
from django.core.exceptions import ValidationError
from django.db import models
@@ -5,6 +7,13 @@ from django.db import models
from alphabetlearning.resources.models import Resource
+class PendingEmailVerification(models.Model):
+ email = models.EmailField()
+ verification_token = models.UUIDField(default=uuid.uuid4, editable=False)
+ created_at = models.DateTimeField(auto_now_add=True)
+ is_verified = models.BooleanField(default=False)
+
+
class EmailSignup(models.Model):
email = models.EmailField(unique=True)
date_added = models.DateTimeField(auto_now_add=True)