Add verbose_name to Candidate.handicap

This commit is contained in:
Claude Paroz 2018-04-23 14:53:32 +02:00
parent 9db8dac63d
commit 8da961fdc5
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ class Migration(migrations.Migration):
('mobile', models.CharField(blank=True, max_length=40, verbose_name='Portable')),
('email', models.EmailField(blank=True, max_length=254, verbose_name='Courriel')),
('avs', models.CharField(blank=True, max_length=15, verbose_name='No AVS')),
('handicap', models.BooleanField(default=False)),
('handicap', models.BooleanField(default=False, verbose_name='Handicap/besoins part.')),
('section', models.CharField(choices=[('ASA', 'Aide en soin et accompagnement AFP'), ('ASE', 'Assist. socio-éducatif-ve CFC'), ('ASSC', 'Assist. en soin et santé communautaire CFC'), ('EDE', "Education de l'enfance, dipl. ES"), ('EDS', 'Education sociale, dipl. ES')], max_length=10, verbose_name='Filière')),
('option', models.CharField(blank=True, choices=[('GEN', 'Généraliste'), ('ENF', 'Enfance'), ('PAG', 'Personnes âgées'), ('HAN', 'Handicap'), ('PE-5400h', 'Parcours Emploi 5400h.'), ('PE-3600h', 'Parcours Emploi 3600h.'), ('PS', 'Parcours stage')], max_length=20, verbose_name='Option')),
('exemption_ecg', models.BooleanField(default=False)),

View file

@ -70,7 +70,7 @@ class Candidate(models.Model):
mobile = models.CharField('Portable', max_length=40, blank=True)
email = models.EmailField('Courriel', blank=True)
avs = models.CharField('No AVS', max_length=15, blank=True)
handicap = models.BooleanField(default=False)
handicap = models.BooleanField('Handicap/besoins part.', default=False)
section = models.CharField('Filière', max_length=10, choices=SECTION_CHOICES)
option = models.CharField('Option', max_length=20, choices=OPTION_CHOICES, blank=True)