from django.db import models
class ContactEntry(models.Model):
"""Conservancy contact system
Hopefully this will be deprecated soon"""
email = models.EmailField() # should make it unique, but we really cannot
subscribe_conservancy = models.BooleanField(default=False)
class Unsubscription(models.Model):
created = models.DateTimeField(auto_now_add=True, blank=True)
email = models.EmailField()
class Meta:
ordering = ('email',)
ordering = ['created']