Files @ 531a97a3c9af
Branch filter:

Location: website/www/contacts/models.py

bsturmfels
Eliminate "conservancy" and "apps" subdirectories

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