Continue working on different mark types
This commit is contained in:
parent
4de82b088d
commit
4ba2f0c52f
3 changed files with 39 additions and 3 deletions
32
stages/migrations/0024_mark_fields_dup.py
Normal file
32
stages/migrations/0024_mark_fields_dup.py
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# Generated by Django 2.2.6 on 2019-10-07 15:04
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('stages', '0023_mark_ep_to_choices'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='student',
|
||||
name='mark_acq',
|
||||
field=models.CharField(blank=True, choices=[('non', 'Non acquis'), ('part', 'Partiellement acquis'), ('acq', 'Acquis')], max_length=5, verbose_name='Note'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='student',
|
||||
name='mark_ep_acq',
|
||||
field=models.CharField(blank=True, choices=[('non', 'Non acquis'), ('part', 'Partiellement acquis'), ('acq', 'Acquis')], max_length=5, verbose_name='Note EP'),
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='student',
|
||||
name='mark_ep',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='student',
|
||||
name='mark_ep',
|
||||
field=models.DecimalField(blank=True, decimal_places=2, max_digits=3, null=True, verbose_name='Note EP'),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue