diff options
author | Matthew Lemon <y@yulqen.org> | 2024-11-26 17:03:16 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-11-26 17:03:16 +0000 |
commit | 04e490c0b0b65a21c531ac50a5ba321c79e14fa2 (patch) | |
tree | 428df0f34826b8aff22d9b37708ef286d3115015 /alphabetlearning/payments/models.py | |
parent | 78fd102b49f339af5432c2f0bebfab7ff9ac39bd (diff) |
Got the basic form anbd privacy policy in place
Diffstat (limited to '')
-rw-r--r-- | alphabetlearning/payments/models.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/alphabetlearning/payments/models.py b/alphabetlearning/payments/models.py index 7bf4164..7a8c7bb 100644 --- a/alphabetlearning/payments/models.py +++ b/alphabetlearning/payments/models.py @@ -5,6 +5,13 @@ from django.db import models from alphabetlearning.resources.models import Resource +class EmailSignup(models.Model): + email = models.EmailField(unique=True) + date_added = models.DateTimeField(auto_now_add=True) + + def __str__(self): + return self.email + class Product(models.Model): name = models.CharField(max_length=255) stripe_product_id = models.CharField(max_length=100) |