website/www/conservancy/apps/contacts/models.py

14 lines
322 B
Python
Raw Normal View History

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()
class Meta:
ordering = ('email',)