[candidats] Add summary print action

This commit is contained in:
Claude Paroz 2018-01-26 19:15:10 +01:00
parent ffb54c9f78
commit 50af7f321c
5 changed files with 218 additions and 5 deletions

View file

@ -138,6 +138,9 @@ class Candidate(models.Model):
else:
return ''
def get_ok(self, fieldname):
return 'OK' if getattr(self, fieldname) is True else 'NON'
INTERVIEW_CHOICES = (
('N', 'Normal'),