-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1109 from uktrade/feature/article-page-video
Improve international article page video/image functionality
- Loading branch information
Showing
4 changed files
with
222 additions
and
39 deletions.
There are no files selected for viewing
191 changes: 191 additions & 0 deletions
191
great_international/migrations/0162_internationalarticlepage_article_image_ar_and_more.py
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,191 @@ | ||
# Generated by Django 4.1.9 on 2023-07-03 09:53 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
('wagtailmedia', '0004_duration_optional_floatfield'), | ||
('wagtailimages', '0024_index_image_file_hash'), | ||
('great_international', '0161_alter_internationalarticlelistingpage_tags_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='internationalarticlepage', | ||
name='article_image_ar', | ||
field=models.ForeignKey( | ||
blank=True, | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
related_name='+', | ||
to='wagtailimages.image', | ||
), | ||
), | ||
migrations.AddField( | ||
model_name='internationalarticlepage', | ||
name='article_image_de', | ||
field=models.ForeignKey( | ||
blank=True, | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
related_name='+', | ||
to='wagtailimages.image', | ||
), | ||
), | ||
migrations.AddField( | ||
model_name='internationalarticlepage', | ||
name='article_image_en_gb', | ||
field=models.ForeignKey( | ||
blank=True, | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
related_name='+', | ||
to='wagtailimages.image', | ||
), | ||
), | ||
migrations.AddField( | ||
model_name='internationalarticlepage', | ||
name='article_image_es', | ||
field=models.ForeignKey( | ||
blank=True, | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
related_name='+', | ||
to='wagtailimages.image', | ||
), | ||
), | ||
migrations.AddField( | ||
model_name='internationalarticlepage', | ||
name='article_image_fr', | ||
field=models.ForeignKey( | ||
blank=True, | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
related_name='+', | ||
to='wagtailimages.image', | ||
), | ||
), | ||
migrations.AddField( | ||
model_name='internationalarticlepage', | ||
name='article_image_ja', | ||
field=models.ForeignKey( | ||
blank=True, | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
related_name='+', | ||
to='wagtailimages.image', | ||
), | ||
), | ||
migrations.AddField( | ||
model_name='internationalarticlepage', | ||
name='article_image_pt', | ||
field=models.ForeignKey( | ||
blank=True, | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
related_name='+', | ||
to='wagtailimages.image', | ||
), | ||
), | ||
migrations.AddField( | ||
model_name='internationalarticlepage', | ||
name='article_image_zh_hans', | ||
field=models.ForeignKey( | ||
blank=True, | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
related_name='+', | ||
to='wagtailimages.image', | ||
), | ||
), | ||
migrations.AddField( | ||
model_name='internationalarticlepage', | ||
name='article_video_ar', | ||
field=models.ForeignKey( | ||
blank=True, | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
related_name='+', | ||
to='wagtailmedia.media', | ||
), | ||
), | ||
migrations.AddField( | ||
model_name='internationalarticlepage', | ||
name='article_video_de', | ||
field=models.ForeignKey( | ||
blank=True, | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
related_name='+', | ||
to='wagtailmedia.media', | ||
), | ||
), | ||
migrations.AddField( | ||
model_name='internationalarticlepage', | ||
name='article_video_en_gb', | ||
field=models.ForeignKey( | ||
blank=True, | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
related_name='+', | ||
to='wagtailmedia.media', | ||
), | ||
), | ||
migrations.AddField( | ||
model_name='internationalarticlepage', | ||
name='article_video_es', | ||
field=models.ForeignKey( | ||
blank=True, | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
related_name='+', | ||
to='wagtailmedia.media', | ||
), | ||
), | ||
migrations.AddField( | ||
model_name='internationalarticlepage', | ||
name='article_video_fr', | ||
field=models.ForeignKey( | ||
blank=True, | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
related_name='+', | ||
to='wagtailmedia.media', | ||
), | ||
), | ||
migrations.AddField( | ||
model_name='internationalarticlepage', | ||
name='article_video_ja', | ||
field=models.ForeignKey( | ||
blank=True, | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
related_name='+', | ||
to='wagtailmedia.media', | ||
), | ||
), | ||
migrations.AddField( | ||
model_name='internationalarticlepage', | ||
name='article_video_pt', | ||
field=models.ForeignKey( | ||
blank=True, | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
related_name='+', | ||
to='wagtailmedia.media', | ||
), | ||
), | ||
migrations.AddField( | ||
model_name='internationalarticlepage', | ||
name='article_video_zh_hans', | ||
field=models.ForeignKey( | ||
blank=True, | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
related_name='+', | ||
to='wagtailmedia.media', | ||
), | ||
), | ||
] |
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
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
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