summaryrefslogtreecommitdiff
path: root/app/lttr/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/lttr/models.py')
-rw-r--r--app/lttr/models.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/lttr/models.py b/app/lttr/models.py
index 653eded..863d4e4 100644
--- a/app/lttr/models.py
+++ b/app/lttr/models.py
@@ -468,3 +468,15 @@ newsletter = Newsletter.objects.get(pk=3)
n = SendShit(newsletter, mailing, 1)
n.send_mailings()
'''
+
+
+class PostcardSubscriber(models.Model):
+ """ A model for grabbing addresses to send postcards """
+ date_created = models.DateTimeField(blank=True, auto_now_add=True, editable=False)
+ date_updated = models.DateTimeField(blank=True, auto_now=True, editable=False)
+ address = models.TextField()
+ name = models.CharField(max_length=120)
+
+ def __str__(self):
+ return self.name
+