Browse Source

Fix bugu u exportu: end-year = 'None'

remotes/origin/vysl
Tomas Gavenciak 9 years ago
parent
commit
73a594512c
  1. 2
      seminar/models.py

2
seminar/models.py

@ -195,7 +195,7 @@ class Resitel(SeminarModelBase):
'gender': 'M' if self.pohlavi_muz else 'F', 'gender': 'M' if self.pohlavi_muz else 'F',
'born': self.datum_narozeni.isoformat() if self.datum_narozeni else '', 'born': self.datum_narozeni.isoformat() if self.datum_narozeni else '',
'email': self.email, 'email': self.email,
'end-year': self.rok_maturity, 'end-year': self.rok_maturity or '',
# TODO(gavento): Adresa skoly, kdyz preferuje zasilani tam? # TODO(gavento): Adresa skoly, kdyz preferuje zasilani tam?
'street': self.ulice, 'street': self.ulice,

Loading…
Cancel
Save