From 257e73b9a8237757e18ebf2d7945a243a36f6d5d Mon Sep 17 00:00:00 2001 From: Santtu Alatalo Date: Fri, 14 Aug 2020 06:21:51 +0300 Subject: [PATCH] Added new migrations to translated fields (#16) --- .../migrations/0053_auto_20200813_1112.py | 71 +++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 democracy/migrations/0053_auto_20200813_1112.py diff --git a/democracy/migrations/0053_auto_20200813_1112.py b/democracy/migrations/0053_auto_20200813_1112.py new file mode 100644 index 00000000..bbe72aa4 --- /dev/null +++ b/democracy/migrations/0053_auto_20200813_1112.py @@ -0,0 +1,71 @@ +# Generated by Django 2.2.12 on 2020-08-13 11:12 + +import django.core.files.storage +from django.db import migrations, models +import django.db.models.deletion +import parler.fields + + +class Migration(migrations.Migration): + + dependencies = [ + ('democracy', '0052_auto_20200401_1115'), + ] + + operations = [ + migrations.AlterField( + model_name='contactpersontranslation', + name='master', + field=parler.fields.TranslationsForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='translations', to='democracy.ContactPerson'), + ), + migrations.AlterField( + model_name='hearingtranslation', + name='master', + field=parler.fields.TranslationsForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='translations', to='democracy.Hearing'), + ), + migrations.AlterField( + model_name='labeltranslation', + name='master', + field=parler.fields.TranslationsForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='translations', to='democracy.Label'), + ), + migrations.AlterField( + model_name='projectphasetranslation', + name='master', + field=parler.fields.TranslationsForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='translations', to='democracy.ProjectPhase'), + ), + migrations.AlterField( + model_name='projecttranslation', + name='master', + field=parler.fields.TranslationsForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='translations', to='democracy.Project'), + ), + migrations.AlterField( + model_name='sectionfile', + name='file', + field=models.FileField(max_length=2048, storage=django.core.files.storage.FileSystemStorage(location='/srv/kerrokantasi/user_uploads'), upload_to='files/%Y/%m', verbose_name='file'), + ), + migrations.AlterField( + model_name='sectionfiletranslation', + name='master', + field=parler.fields.TranslationsForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='translations', to='democracy.SectionFile'), + ), + migrations.AlterField( + model_name='sectionimagetranslation', + name='master', + field=parler.fields.TranslationsForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='translations', to='democracy.SectionImage'), + ), + migrations.AlterField( + model_name='sectionpolloptiontranslation', + name='master', + field=parler.fields.TranslationsForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='translations', to='democracy.SectionPollOption'), + ), + migrations.AlterField( + model_name='sectionpolltranslation', + name='master', + field=parler.fields.TranslationsForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='translations', to='democracy.SectionPoll'), + ), + migrations.AlterField( + model_name='sectiontranslation', + name='master', + field=parler.fields.TranslationsForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='translations', to='democracy.Section'), + ), + ]