Files @ caa0ff7b861d
Branch filter:

Location: website/conservancy/contacts/models.py

bsturmfels
Load JS through Django's staticfiles app

This avoids the need for adjustments during development and allows production to
be served under a single /static declaration in Apache.
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',)