website/conservancy/contacts/models.py

10 lines
246 B
Python

from django.db import models
class Unsubscription(models.Model):
created = models.DateTimeField(auto_now_add=True, blank=True)
email = models.EmailField()
mailout = models.SlugField()
class Meta:
ordering = ['created']