manuels-scolaires/manuels/migrations/0028_auto_20190406_1901.py

37 lines
999 B
Python
Raw Normal View History

2019-04-06 19:25:04 +02:00
# Generated by Django 2.2 on 2019-04-06 17:01
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
2021-07-10 12:11:58 +02:00
("manuels", "0027_auto_20190401_2036"),
2019-04-06 19:25:04 +02:00
]
operations = [
migrations.AlterModelOptions(
2021-07-10 12:11:58 +02:00
name="level",
options={
"ordering": ["order", "name"],
"verbose_name": "classe",
"verbose_name_plural": "classes",
},
2019-04-06 19:25:04 +02:00
),
migrations.AddField(
2021-07-10 12:11:58 +02:00
model_name="book",
name="consumable",
field=models.BooleanField(
default=False,
help_text="Exemple : un cahier d'exercices est un consommable",
verbose_name="consommable",
),
2019-04-06 19:25:04 +02:00
preserve_default=False,
),
migrations.AddField(
2021-07-10 12:11:58 +02:00
model_name="level",
name="order",
field=models.IntegerField(default=0, verbose_name="ordre"),
2019-04-06 19:25:04 +02:00
),
]