63 lines
1.8 KiB
Python
63 lines
1.8 KiB
Python
# Generated by Django 3.2 on 2021-04-15 08:50
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("elections", "0021_election_vote_restrictions"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.RenameField(
|
|
model_name="election",
|
|
old_name="description",
|
|
new_name="description_fr",
|
|
),
|
|
migrations.RenameField(
|
|
model_name="election",
|
|
old_name="name",
|
|
new_name="name_fr",
|
|
),
|
|
migrations.RenameField(
|
|
model_name="election",
|
|
old_name="vote_restrictions",
|
|
new_name="vote_restrictions_fr",
|
|
),
|
|
migrations.RenameField(
|
|
model_name="option",
|
|
old_name="text",
|
|
new_name="text_fr",
|
|
),
|
|
migrations.RenameField(
|
|
model_name="question",
|
|
old_name="text",
|
|
new_name="text_fr",
|
|
),
|
|
migrations.AddField(
|
|
model_name="election",
|
|
name="description_en",
|
|
field=models.TextField(blank=True, verbose_name="description"),
|
|
),
|
|
migrations.AddField(
|
|
model_name="election",
|
|
name="name_en",
|
|
field=models.CharField(blank=True, max_length=255, verbose_name="nom"),
|
|
),
|
|
migrations.AddField(
|
|
model_name="election",
|
|
name="vote_restrictions_en",
|
|
field=models.TextField(blank=True, verbose_name="conditions de vote"),
|
|
),
|
|
migrations.AddField(
|
|
model_name="option",
|
|
name="text_en",
|
|
field=models.TextField(blank=True, verbose_name="texte"),
|
|
),
|
|
migrations.AddField(
|
|
model_name="question",
|
|
name="text_en",
|
|
field=models.TextField(blank=True, verbose_name="question"),
|
|
),
|
|
]
|