diff --git a/stages/migrations/0028_remove_last_appointment.py b/stages/migrations/0028_remove_last_appointment.py new file mode 100644 index 0000000..ac79a32 --- /dev/null +++ b/stages/migrations/0028_remove_last_appointment.py @@ -0,0 +1,20 @@ +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('stages', '0027_migrate_exams'), + ] + + operations = [ + migrations.RemoveField( + model_name='student', + name='last_appointment', + ), + migrations.AlterField( + model_name='examination', + name='type_exam', + field=models.CharField(choices=[('exam', 'Examen qualification'), ('entr', 'Entretien professionnel')], max_length=10, verbose_name='Type'), + ), + ] diff --git a/stages/models.py b/stages/models.py index 896d1e1..80a818d 100644 --- a/stages/models.py +++ b/stages/models.py @@ -321,7 +321,6 @@ class Student(models.Model): ExamEDESession, null=True, blank=True, on_delete=models.SET_NULL, related_name='students_es', ) date_exam = models.DateTimeField(blank=True, null=True) - last_appointment = models.DateField(blank=True, null=True) room = models.CharField('Salle', max_length=15, blank=True) mark = models.DecimalField('Note', max_digits=3, decimal_places=2, blank=True, null=True) mark_acq = models.CharField('Note', max_length=5, choices=ACQ_MARK_CHOICES, blank=True)