Skip to content

Commit

Permalink
Added new migrations to translated fields (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
SanttuA authored Aug 14, 2020
1 parent 30ac8fc commit 257e73b
Showing 1 changed file with 71 additions and 0 deletions.
71 changes: 71 additions & 0 deletions democracy/migrations/0053_auto_20200813_1112.py
Original file line number Diff line number Diff line change
@@ -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'),
),
]

0 comments on commit 257e73b

Please sign in to comment.