Files @ 123eb7603cee
Branch filter:

Location: website/www/conservancy/apps/contacts/models.py

Bradley M. Kuhn
Use typical way of putting the category in a block.

Django is so frustrating as it's never clear about how things trickle
up and down through templates, so move the category to the top like
the others.
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',)