Files @ 40133bb73b33
Branch filter:

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

brett
supporter: Remove bogus value for PayPal srt variable.

srt is meant to be used for time-limited subscriptions. 0 is not a valid
value. See
<https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/#recurring-payment-variables>;.
It's optional, and leaving it unset gives us the behavior we want, so do
that instead.
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(default=True)

    class Meta:
        ordering = ('name',)