diff options
author | Dan McGee <dan@archlinux.org> | 2010-10-01 20:05:19 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-10-01 20:05:22 +0200 |
commit | 77f65bdc0c9f5524ca68be511af4280f08fbcc13 (patch) | |
tree | 637c2afb48a0ecfc9707489919b8879ba2ac31a1 /main/models.py | |
parent | ed6fbafb35ec9799ad182c45985355a2e0d67d50 (diff) | |
download | archweb-77f65bdc0c9f5524ca68be511af4280f08fbcc13.tar.gz archweb-77f65bdc0c9f5524ca68be511af4280f08fbcc13.tar.xz |
Allow donors to be invisible
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/models.py')
-rw-r--r-- | main/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/models.py b/main/models.py index a377187..c3cb5cf 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 |