website/www/contacts/models.py

15 lines
336 B
Python
Raw Normal View History

from django.db import models
2023-10-19 22:52:39 +00:00
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 Meta:
ordering = ('email',)