-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test InlinlineCheckboxes pour les troubles cognififs
- Loading branch information
Davy39
committed
Jan 24, 2022
1 parent
343038c
commit d966afe
Showing
3 changed files
with
48 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
migrations/inscription/0005_baseeleve_dys_baseeleve_ville_natale_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Generated by Django 4.0 on 2022-01-24 20:10 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
import multiselectfield.db.fields | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('inscription', '0004_baseeleve_nationalite'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='baseeleve', | ||
name='dys', | ||
field=multiselectfield.db.fields.MultiSelectField(blank=True, choices=[('DL', 'Dyslexie'), ('DC', 'Dyscalculie'), ('DP', 'Dyspraxie'), ('DG', 'Dysgraphie'), ('DO', 'Dysorthographie')], max_length=14, null=True, verbose_name='Troubles cognitifs'), | ||
), | ||
migrations.AddField( | ||
model_name='baseeleve', | ||
name='ville_natale', | ||
field=models.CharField(blank=True, max_length=50, null=True, verbose_name='Ville natale'), | ||
), | ||
migrations.AlterField( | ||
model_name='baseeleve', | ||
name='commune_naissance', | ||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='inscription.commune', verbose_name='Commune de naissance'), | ||
), | ||
migrations.AlterField( | ||
model_name='baseeleve', | ||
name='departement_naissance', | ||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='inscription.departement', verbose_name='Département de naissance'), | ||
), | ||
] |