aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/payments/models.py
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-12-08 15:30:51 +0000
committerMatthew Lemon <y@yulqen.org>2024-12-08 15:30:51 +0000
commit9950234b1aa07fceed0d220297d158be6a067cd2 (patch)
tree23708f889cfc11f84dbc288508a29719a18ac53d /alphabetlearning/payments/models.py
parent30101453a75aaa635e3458d509dec164a6a68ac1 (diff)
wip: sorting out the email sending
Diffstat (limited to '')
-rw-r--r--alphabetlearning/payments/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/alphabetlearning/payments/models.py b/alphabetlearning/payments/models.py
index 3a3ba10..44c8597 100644
--- a/alphabetlearning/payments/models.py
+++ b/alphabetlearning/payments/models.py
@@ -23,6 +23,7 @@ class EmailVerification(models.Model):
def __str__(self):
return f"Email verification for {self.email}"
+
class EmailSignup(models.Model):
email = models.EmailField(unique=True)
date_added = models.DateTimeField(auto_now_add=True)
@@ -30,6 +31,7 @@ class EmailSignup(models.Model):
def __str__(self):
return self.email
+
class Product(models.Model):
name = models.CharField(max_length=255)
stripe_product_id = models.CharField(max_length=100)