Add validation date, rename confirmation_date

This commit is contained in:
Claude Paroz 2018-02-02 09:36:05 +01:00
parent 26ffd6d025
commit 5a2a5d769f
5 changed files with 44 additions and 12 deletions

View file

@ -27,12 +27,12 @@ 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)),
('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', "Educ. de l'enfance, dipl. ES"), ('EDS', 'Educ. social-e, 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 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)),
('validation_sfpo', models.DateField(blank=True, null=True, verbose_name='Confirmation SFPO')),
('integration_second_year', models.BooleanField(default=False, verbose_name='Intégration')),
('date_confirmation_mail', models.DateField(blank=True, null=True, verbose_name='Mail de confirmation')),
('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")),

View file

@ -0,0 +1,31 @@
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('candidats', '0006_residence_permits_nullable'),
]
operations = [
migrations.AddField(
model_name='candidate',
name='validation_date',
field=models.DateTimeField(blank=True, null=True, verbose_name='Envoi mail de validation'),
),
migrations.AlterField(
model_name='candidate',
name='convocation_date',
field=models.DateTimeField(blank=True, null=True, verbose_name='Envoi mail de confirmation'),
),
migrations.RenameField(
model_name='candidate',
old_name='date_confirmation_mail',
new_name='confirmation_date',
),
migrations.AlterField(
model_name='candidate',
name='confirmation_date',
field=models.DateTimeField(blank=True, null=True, verbose_name='Envoi mail de confirmation'),
),
]