ernestophone.ens.fr/partitions/migrations/0004_auto_20210331_1350.py

53 lines
1.6 KiB
Python
Raw Permalink Normal View History

2021-03-31 16:05:26 +02:00
# Generated by Django 2.2.17 on 2021-03-31 13:50
import django.db.models.functions.text
2021-04-29 00:27:33 +02:00
from django.db import migrations, models
2021-03-31 16:05:26 +02:00
class Migration(migrations.Migration):
dependencies = [
2021-04-29 00:27:33 +02:00
("partitions", "0003_auto_20200716_1749"),
2021-03-31 16:05:26 +02:00
]
operations = [
migrations.AlterModelOptions(
2021-04-29 00:27:33 +02:00
name="partition",
options={
"ordering": (django.db.models.functions.text.Lower("nom"),),
"verbose_name": "Morceau",
"verbose_name_plural": "Morceaux",
},
2021-03-31 16:05:26 +02:00
),
migrations.AlterModelOptions(
2021-04-29 00:27:33 +02:00
name="partitionset",
options={
"ordering": (django.db.models.functions.text.Lower("nom"),),
"verbose_name": "Morceau",
"verbose_name_plural": "Morceaux",
},
2021-03-31 16:05:26 +02:00
),
migrations.AddField(
2021-04-29 00:27:33 +02:00
model_name="partitionset",
name="download_unlogged",
field=models.CharField(
choices=[("n", "Non"), ("o", "Oui")],
default="n",
max_length=1,
verbose_name="Téléchargeable non connecté ?",
),
2021-03-31 16:05:26 +02:00
),
migrations.AlterField(
2021-04-29 00:27:33 +02:00
model_name="partitionset",
name="infos",
field=models.TextField(blank=True, default="", verbose_name="Infos utiles"),
2021-03-31 16:05:26 +02:00
),
migrations.AlterField(
2021-04-29 00:27:33 +02:00
model_name="partitionset",
name="infos_en",
field=models.TextField(
blank=True, default="", verbose_name="Infos utiles en anglais"
),
2021-03-31 16:05:26 +02:00
),
]