website/www/conservancy/apps/contacts/models.py
Bradley M. Kuhn f7e45da6dd Adapted Django application stuff for Conservancy; and normalized to string
"conservancy" within code and templates.
2010-09-26 17:54:29 -04:00

13 lines
322 B
Python

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',)