Make code compatible with Django 3.0

This commit is contained in:
Claude Paroz 2020-01-08 15:27:22 +01:00
parent 9b49fc9111
commit f72f0573c2
8 changed files with 15 additions and 15 deletions

View file

@ -27,7 +27,7 @@ class Migration(migrations.Migration):
('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, 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')),
('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 lenfance, 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)),
('validation_sfpo', models.DateField(blank=True, null=True, verbose_name='Confirmation SFPO')),
@ -35,7 +35,7 @@ class Migration(migrations.Migration):
('date_confirmation_mail', models.DateField(blank=True, null=True, verbose_name='Envoi mail de confirmation')),
('canceled_file', models.BooleanField(default=False, verbose_name='Dossier retiré')),
('has_photo', models.BooleanField(default=False, verbose_name='Photo passeport')),
('registration_form', models.BooleanField(default=False, verbose_name="Formulaire d'inscription")),
('registration_form', models.BooleanField(default=False, verbose_name="Formulaire dinscription")),
('certificate_of_payement', models.BooleanField(default=False, verbose_name='Attest. de paiement')),
('police_record', models.BooleanField(default=False, verbose_name='Casier judic.')),
('cv', models.BooleanField(default=False, verbose_name='CV')),