-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating fields for new share buttons. (#1121)
* Updating fields for new share buttons. * Fixing share progress csp
- Loading branch information
1 parent
a34c3ff
commit 56b8254
Showing
3 changed files
with
62 additions
and
2 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
40 changes: 40 additions & 0 deletions
40
network-api/networkapi/campaign/migrations/0004_auto_20180228_2139.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,40 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.11 on 2018-02-28 21:39 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('campaign', '0003_auto_20180206_2116'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='petition', | ||
name='share_email', | ||
field=models.CharField(blank=True, help_text='Share Progress id for email button', max_length=20), | ||
), | ||
migrations.AddField( | ||
model_name='petition', | ||
name='share_facebook', | ||
field=models.CharField(blank=True, help_text='Share Progress id for facebook button', max_length=20), | ||
), | ||
migrations.AddField( | ||
model_name='petition', | ||
name='share_twitter', | ||
field=models.CharField(blank=True, help_text='Share Progress id for twitter button', max_length=20), | ||
), | ||
migrations.AlterField( | ||
model_name='petition', | ||
name='share_link', | ||
field=models.URLField(blank=True, editable=False, help_text='Link that will be put in share button', max_length=1024), | ||
), | ||
migrations.AlterField( | ||
model_name='petition', | ||
name='share_link_text', | ||
field=models.CharField(blank=True, default='Share this', editable=False, help_text='Text content of the share button', max_length=20), | ||
), | ||
] |
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