File diff ef3dd503d868 → 789d0c8c843a
conservancy/contacts/models.py
Show inline comments
 
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']