manuels-scolaires/manuels/migrations/0028_auto_20190406_1901.py
2021-07-10 12:11:58 +02:00

36 lines
999 B
Python

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