2020-09-10 15:06:53 +02:00
|
|
|
# Generated by Django 2.2.14 on 2020-07-16 17:49
|
|
|
|
|
|
|
|
import django.db.models.expressions
|
|
|
|
import django.db.models.functions.text
|
2021-04-29 00:27:33 +02:00
|
|
|
from django.db import migrations, models
|
2020-09-10 15:06:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
2021-04-29 00:27:33 +02:00
|
|
|
("partitions", "0002_category"),
|
2020-09-10 15:06:53 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AlterModelOptions(
|
2021-04-29 00:27:33 +02:00
|
|
|
name="category",
|
|
|
|
options={
|
|
|
|
"ordering": ("order",),
|
|
|
|
"verbose_name": "Categorie",
|
|
|
|
"verbose_name_plural": "Categories",
|
|
|
|
},
|
2020-09-10 15:06:53 +02:00
|
|
|
),
|
|
|
|
migrations.AlterModelOptions(
|
2021-04-29 00:27:33 +02:00
|
|
|
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",
|
|
|
|
},
|
2020-09-10 15:06:53 +02:00
|
|
|
),
|
|
|
|
migrations.AlterModelOptions(
|
2021-04-29 00:27:33 +02:00
|
|
|
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",
|
|
|
|
},
|
2020-09-10 15:06:53 +02:00
|
|
|
),
|
|
|
|
migrations.AddField(
|
2021-04-29 00:27:33 +02:00
|
|
|
model_name="category",
|
|
|
|
name="nom_en",
|
2020-09-10 15:06:53 +02:00
|
|
|
field=models.CharField(blank=True, max_length=100, null=True),
|
|
|
|
),
|
|
|
|
migrations.AddField(
|
2021-04-29 00:27:33 +02:00
|
|
|
model_name="partitionset",
|
|
|
|
name="infos_en",
|
|
|
|
field=models.TextField(
|
|
|
|
blank=True, null=True, verbose_name="Infos utiles en anglais"
|
|
|
|
),
|
2020-09-10 15:06:53 +02:00
|
|
|
),
|
|
|
|
migrations.AddField(
|
2021-04-29 00:27:33 +02:00
|
|
|
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",
|
|
|
|
),
|
2020-09-10 15:06:53 +02:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2021-04-29 00:27:33 +02:00
|
|
|
model_name="category",
|
|
|
|
name="order",
|
|
|
|
field=models.IntegerField(verbose_name="ordre"),
|
2020-09-10 15:06:53 +02:00
|
|
|
),
|
|
|
|
]
|