diff options
Diffstat (limited to 'alphabetlearning/payments/models.py')
-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) |