Files @ 52b676e3dc39
Branch filter:

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

Bradley M. Kuhn
Substantial update of Member Project Application page.

This page had much out of date material, particularly the timeline
and the types of projects we seek, but also the FAQ section did not
include standard information that we're now regularly giving projects
during intake.

This update attempts to address many of those issues.
from django.db import models

class Supporter(models.Model):
    """Conservancy Supporter listing"""

    display_name = models.CharField(max_length=200, blank=False)
    display_until_date = models.DateTimeField("date until which this supporter name is displayed")
    ledger_entity_id = models.CharField(max_length=200, blank=False)

    def test(self):
        return "TESTING"
    def __unicode__(self):
        return self.display_name

    class Meta:
        ordering = ('ledger_entity_id',)