Files @ d73018440a4d
Branch filter:

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

bkuhn
Initial hack at a fundraising goal application.

This simple application will simply store the code name and the to goal
of each fundraiser. The so_far number will likely just be updated by
some external script, modifying the appropriate entry in the SQL
database.
from django.db import models

class SummitRegistration(models.Model):
    """Form fields for summit registrants"""

    name = models.CharField(max_length=300)
    affiliation = models.CharField(max_length=700, blank=True)
    address = models.TextField(blank=True)
    email = models.EmailField(blank=True)
    phone = models.CharField(max_length=100, blank=True)
    date_created = models.DateField(auto_now_add=True)
    cle_credit = models.BooleanField(null=True)

    class Meta:
        ordering = ('name',)