-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9c2b702
commit 80fd804
Showing
6 changed files
with
115 additions
and
5 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
etna/articles/migrations/0109_articleindexpage_twitter_og_description_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
2 changes: 1 addition & 1 deletion
2
etna/collections/migrations/0059_explorerindexpage_twitter_og_description_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
2 changes: 1 addition & 1 deletion
2
etna/generic_pages/migrations/0032_generalpage_twitter_og_description_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
2 changes: 1 addition & 1 deletion
2
etna/home/migrations/0029_homepage_twitter_og_description_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
110 changes: 110 additions & 0 deletions
110
etna/people/migrations/0007_peopleindexpage_twitter_og_description_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,110 @@ | ||
# Generated by Django 5.0.8 on 2024-08-08 11:44 | ||
# etna:allowAlterField | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("images", "0009_alter_customimage_custom_sensitive_image_warning"), | ||
("people", "0006_alter_authortag_author"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="peopleindexpage", | ||
name="twitter_og_description", | ||
field=models.TextField( | ||
blank=True, | ||
help_text="If left blank, the OpenGraph description will be used.", | ||
null=True, | ||
verbose_name="Twitter OpenGraph description", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="peopleindexpage", | ||
name="twitter_og_image", | ||
field=models.ForeignKey( | ||
blank=True, | ||
help_text="If left blank, the OpenGraph image will be used.", | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
related_name="+", | ||
to="images.customimage", | ||
verbose_name="Twitter OpenGraph image", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="peopleindexpage", | ||
name="twitter_og_title", | ||
field=models.CharField( | ||
blank=True, | ||
help_text="If left blank, the OpenGraph title will be used.", | ||
max_length=255, | ||
null=True, | ||
verbose_name="Twitter OpenGraph title", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="personpage", | ||
name="twitter_og_description", | ||
field=models.TextField( | ||
blank=True, | ||
help_text="If left blank, the OpenGraph description will be used.", | ||
null=True, | ||
verbose_name="Twitter OpenGraph description", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="personpage", | ||
name="twitter_og_image", | ||
field=models.ForeignKey( | ||
blank=True, | ||
help_text="If left blank, the OpenGraph image will be used.", | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
related_name="+", | ||
to="images.customimage", | ||
verbose_name="Twitter OpenGraph image", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="personpage", | ||
name="twitter_og_title", | ||
field=models.CharField( | ||
blank=True, | ||
help_text="If left blank, the OpenGraph title will be used.", | ||
max_length=255, | ||
null=True, | ||
verbose_name="Twitter OpenGraph title", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="peopleindexpage", | ||
name="search_image", | ||
field=models.ForeignKey( | ||
blank=True, | ||
help_text="Image that will appear when this page is shared on social media. This will default to the teaser image if left blank.", | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
related_name="+", | ||
to="images.customimage", | ||
verbose_name="OpenGraph image", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="personpage", | ||
name="search_image", | ||
field=models.ForeignKey( | ||
blank=True, | ||
help_text="Image that will appear when this page is shared on social media. This will default to the teaser image if left blank.", | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
related_name="+", | ||
to="images.customimage", | ||
verbose_name="OpenGraph image", | ||
), | ||
), | ||
] |
2 changes: 1 addition & 1 deletion
2
etna/whatson/migrations/0012_eventpage_twitter_og_description_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