8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-27 07:02:26 +00:00

Rename instead of delete

This commit is contained in:
chirac 2018-08-12 18:09:30 +02:00
parent cd13c5240a
commit ed1a013c3f

View file

@ -12,16 +12,17 @@ class Migration(migrations.Migration):
]
operations = [
migrations.RemoveField(
migrations.RenameField(
model_name='generaloption',
name='general_message',
old_name='general_message',
new_name='general_message_fr',
),
migrations.AddField(
model_name='generaloption',
name='general_message_en',
field=models.TextField(blank=True, default='', help_text='General message displayed on the English version of the website.'),
),
migrations.AddField(
migrations.AlterField(
model_name='generaloption',
name='general_message_fr',
field=models.TextField(blank=True, default='', help_text='Message général affiché sur le site (maintenance, etc)'),