78 lines
2.5 KiB
Python
78 lines
2.5 KiB
Python
# Generated by Django 2.2.14 on 2020-07-16 17:49
|
|
|
|
import django.db.models.expressions
|
|
import django.db.models.functions.text
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("partitions", "0002_category"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterModelOptions(
|
|
name="category",
|
|
options={
|
|
"ordering": ("order",),
|
|
"verbose_name": "Categorie",
|
|
"verbose_name_plural": "Categories",
|
|
},
|
|
),
|
|
migrations.AlterModelOptions(
|
|
name="partition",
|
|
options={
|
|
"ordering": (
|
|
django.db.models.expressions.CombinedExpression(
|
|
django.db.models.expressions.Value("-"),
|
|
"+",
|
|
django.db.models.functions.text.Lower("nom"),
|
|
),
|
|
),
|
|
"verbose_name": "Morceau",
|
|
"verbose_name_plural": "Morceaux",
|
|
},
|
|
),
|
|
migrations.AlterModelOptions(
|
|
name="partitionset",
|
|
options={
|
|
"ordering": (
|
|
django.db.models.expressions.CombinedExpression(
|
|
django.db.models.expressions.Value("-"),
|
|
"+",
|
|
django.db.models.functions.text.Lower("nom"),
|
|
),
|
|
),
|
|
"verbose_name": "Morceau",
|
|
"verbose_name_plural": "Morceaux",
|
|
},
|
|
),
|
|
migrations.AddField(
|
|
model_name="category",
|
|
name="nom_en",
|
|
field=models.CharField(blank=True, max_length=100, null=True),
|
|
),
|
|
migrations.AddField(
|
|
model_name="partitionset",
|
|
name="infos_en",
|
|
field=models.TextField(
|
|
blank=True, null=True, verbose_name="Infos utiles en anglais"
|
|
),
|
|
),
|
|
migrations.AddField(
|
|
model_name="partitionset",
|
|
name="url",
|
|
field=models.URLField(
|
|
blank=True,
|
|
help_text="Dans Youtube cliquer sur partager puis importer pour récuperer la bonne adresse",
|
|
null=True,
|
|
verbose_name="Url d'une video youtube",
|
|
),
|
|
),
|
|
migrations.AlterField(
|
|
model_name="category",
|
|
name="order",
|
|
field=models.IntegerField(verbose_name="ordre"),
|
|
),
|
|
]
|