From 04e490c0b0b65a21c531ac50a5ba321c79e14fa2 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 26 Nov 2024 17:03:16 +0000 Subject: Got the basic form anbd privacy policy in place --- alphabetlearning/payments/models.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'alphabetlearning/payments/models.py') 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) -- cgit v1.2.3