author | Lennard de Rijk <ljvderijk@gmail.com> |
Sun, 19 Apr 2009 21:37:14 +0000 | |
changeset 2249 | 08d1367deb4f |
parent 2248 | 094785ac13a5 |
child 2250 | a172051d9b99 |
--- a/app/soc/models/role.py Sun Apr 19 21:26:38 2009 +0000 +++ b/app/soc/models/role.py Sun Apr 19 21:37:14 2009 +0000 @@ -374,3 +374,8 @@ return self.name_on_documents else: return self.name() + + def ccTld(self): + """Property as 'ccTld' for use in Maps. + """ + return countries.COUNTRIES_TO_CCTLD[self.res_country]