|
|
@ -124,7 +124,8 @@ class Osoba(SeminarModelBase): |
|
|
|
return force_unicode('%s %s' % (self.jmeno, self.prijmeni)) |
|
|
|
|
|
|
|
def inicial_krestni(self): |
|
|
|
return force_unicode('%s.' % (self.jmeno[0])) |
|
|
|
jmena = self.jmeno.split() |
|
|
|
return " ".join(['{}.'.format(jmeno[0]) for jmeno in jmena]) |
|
|
|
|
|
|
|
def __str__(self): |
|
|
|
return force_unicode("Osoba({})".format(self.plne_jmeno())) |
|
|
|