summaryrefslogtreecommitdiff
path: root/pgcommitfest/commitfest/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'pgcommitfest/commitfest/models.py')
-rw-r--r--pgcommitfest/commitfest/models.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pgcommitfest/commitfest/models.py b/pgcommitfest/commitfest/models.py
index 76c582d..39e2d34 100644
--- a/pgcommitfest/commitfest/models.py
+++ b/pgcommitfest/commitfest/models.py
@@ -40,6 +40,10 @@ class CommitFest(models.Model):
return [v for k,v in self._STATUS_CHOICES if k==self.status][0]
@property
+ def title(self):
+ return "Commitfest %s" % self.name
+
+ @property
def isopen(self):
return self.status == self.STATUS_OPEN