damned-lies r1079 - in branches/djamnedlies: . stats
- From: stephaner svn gnome org
- To: svn-commits-list gnome org
- Subject: damned-lies r1079 - in branches/djamnedlies: . stats
- Date: Wed, 22 Oct 2008 22:34:09 +0000 (UTC)
Author: stephaner
Date: Wed Oct 22 22:34:09 2008
New Revision: 1079
URL: http://svn.gnome.org/viewvc/damned-lies?rev=1079&view=rev
Log:
2008-10-23 StÃphane Raimbault <stephane raimbault gmail com>
* stats/models.py: Add a convenient property to get Person
fullname.
Modified:
branches/djamnedlies/ChangeLog
branches/djamnedlies/stats/models.py
Modified: branches/djamnedlies/stats/models.py
==============================================================================
--- branches/djamnedlies/stats/models.py (original)
+++ branches/djamnedlies/stats/models.py Wed Oct 22 22:34:09 2008
@@ -49,6 +49,9 @@
def no_spam_bugzilla_account(self):
return utils.obfuscate_email(self.bugzilla_account)
+ @property
+ def name(self):
+ return self.first_name + " " + self.last_name
class Team(Group):
""" The name of the team is stored in Group.name.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]