Ben Sturmfels
531a97a3c9
The directory nesting is unnecessary here and confusing to navigate. I've moved all apps to the project subdirectory, currently called "www", but soon to be renamed "conservancy". I've also moved manage.py to the top-level directory.
14 lines
336 B
Python
14 lines
336 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(default=False)
|
|
|
|
class Meta:
|
|
ordering = ('email',)
|
|
|