Update old migration
This commit is contained in:
parent
20b8459a6b
commit
c8f5041ffe
1 changed files with 5 additions and 2 deletions
|
|
@ -1,5 +1,3 @@
|
|||
# Generated by Django 2.2.6 on 2019-11-20 13:30
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
|
|
@ -15,4 +13,9 @@ class Migration(migrations.Migration):
|
|||
name='has_stages',
|
||||
field=models.BooleanField(default=False, verbose_name='Planifie la PP sur ce site'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='period',
|
||||
name='section',
|
||||
field=models.ForeignKey(limit_choices_to={'has_stages': True}, on_delete=models.deletion.PROTECT, to='stages.Section', verbose_name='Filière'),
|
||||
),
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue