Remove unused last_appointment field
This commit is contained in:
parent
ad3b9bd936
commit
123e7f4193
2 changed files with 20 additions and 1 deletions
20
stages/migrations/0028_remove_last_appointment.py
Normal file
20
stages/migrations/0028_remove_last_appointment.py
Normal file
|
|
@ -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'),
|
||||
),
|
||||
]
|
||||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue