ernestophone.ens.fr/calendrier/migrations/0002_auto_20200714_1559.py

64 lines
1.8 KiB
Python
Raw Normal View History

# Generated by Django 2.2.14 on 2020-07-14 15:59
import uuid
2021-04-29 00:27:33 +02:00
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
2021-04-29 00:27:33 +02:00
("calendrier", "0001_initial"),
]
operations = [
migrations.AlterModelOptions(
2021-04-29 00:27:33 +02:00
name="event",
options={"verbose_name": "Evenement"},
),
migrations.AddField(
2021-04-29 00:27:33 +02:00
model_name="event",
name="desc_users_en",
field=models.TextField(
blank=True,
null=True,
verbose_name="Infos en anglais (visible seulement des fanfaron-ne-s)",
),
),
migrations.AddField(
2021-04-29 00:27:33 +02:00
model_name="event",
name="description_en",
field=models.TextField(blank=True),
),
migrations.AlterField(
2021-04-29 00:27:33 +02:00
model_name="event",
name="calendrier",
field=models.CharField(
choices=[
("F", "Visible seulement par les fanfarons"),
("T", "Afficher dans le calendrier pour tous"),
("H", "Hall of fame"),
],
default="F",
max_length=1,
),
),
migrations.AlterField(
2021-04-29 00:27:33 +02:00
model_name="event",
name="slug",
field=models.CharField(
default=uuid.uuid1, editable=False, max_length=7, unique=True
),
),
migrations.AlterField(
2021-04-29 00:27:33 +02:00
model_name="participants",
name="reponse",
field=models.CharField(
choices=[("oui", "Oui"), ("non", "Non"), ("pe", "Peut-etre")],
default="non",
max_length=20,
verbose_name="Réponse",
),
),
]