summaryrefslogtreecommitdiff
path: root/main/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-10-01 13:05:19 -0500
committerDan McGee <dan@archlinux.org>2010-10-01 13:05:22 -0500
commit77f65bdc0c9f5524ca68be511af4280f08fbcc13 (patch)
tree637c2afb48a0ecfc9707489919b8879ba2ac31a1 /main/models.py
parented6fbafb35ec9799ad182c45985355a2e0d67d50 (diff)
Allow donors to be invisiblerelease_2010-10-01
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/models.py')
-rw-r--r--main/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/models.py b/main/models.py
index a377187b..c3cb5cf0 100644
--- a/main/models.py
+++ b/main/models.py
@@ -48,6 +48,8 @@ class PackageManager(models.Manager):
class Donor(models.Model):
id = models.AutoField(primary_key=True)
name = models.CharField(max_length=255, unique=True)
+ visible = models.BooleanField(default=True,
+ help_text="Should we show this donor on the public page?")
def __unicode__(self):
return self.name