63 lines
1.8 KiB
Python
63 lines
1.8 KiB
Python
# Generated by Django 2.2.14 on 2020-07-14 15:59
|
|
|
|
import uuid
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("calendrier", "0001_initial"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterModelOptions(
|
|
name="event",
|
|
options={"verbose_name": "Evenement"},
|
|
),
|
|
migrations.AddField(
|
|
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(
|
|
model_name="event",
|
|
name="description_en",
|
|
field=models.TextField(blank=True),
|
|
),
|
|
migrations.AlterField(
|
|
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(
|
|
model_name="event",
|
|
name="slug",
|
|
field=models.CharField(
|
|
default=uuid.uuid1, editable=False, max_length=7, unique=True
|
|
),
|
|
),
|
|
migrations.AlterField(
|
|
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",
|
|
),
|
|
),
|
|
]
|