Esempio n. 1
0
 def get_country_display_english(self):
     """Displays the country of origin in its English form. This is useful
     for distionary lookups."""
     return Country.raw_from_id(self.country)
Esempio n. 2
0
 def country(self):
     return Country.raw_from_id(self.profile.country)
Esempio n. 3
0
 def get_country_display_english(self):
     """Displays the country of origin in its English form. This is useful
     for distionary lookups."""
     return Country.raw_from_id(self.country)