-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new migrations to translated fields (#16)
- Loading branch information
Showing
1 changed file
with
71 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'), | ||
), | ||
] |