summaryrefslogtreecommitdiff
path: root/pgcommitfest/commitfest/models.py
diff options
context:
space:
mode:
authorMagnus Hagander2014-04-22 11:59:12 +0000
committerMagnus Hagander2014-04-22 11:59:12 +0000
commit084a37e4ddd51109dfb9977d585bb35872155bbf (patch)
tree249574ff4ad42f281fe096d01aadfb9bdfc3125b /pgcommitfest/commitfest/models.py
parentc66975fcaecc4b87d70e75935d0fffb50d86bf3a (diff)
Add support for claiming and unclaiming as committer
Diffstat (limited to 'pgcommitfest/commitfest/models.py')
-rw-r--r--pgcommitfest/commitfest/models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pgcommitfest/commitfest/models.py b/pgcommitfest/commitfest/models.py
index 75078a0..f8ea862 100644
--- a/pgcommitfest/commitfest/models.py
+++ b/pgcommitfest/commitfest/models.py
@@ -15,6 +15,9 @@ class Committer(models.Model):
def __unicode__(self):
return unicode(self.user)
+ @property
+ def fullname(self):
+ return "%s %s (%s)" % (self.user.first_name, self.user.last_name, self.user.username)
class CommitFest(models.Model):
STATUS_FUTURE=1