-
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.
* added new fields, however, need to ask whether or not we want the helptext fields to go along or if they are static: * updated AI fields, as well as reordered them in the code and CMS to match new PNI product page template Co-authored-by: Daniel Miranda <daniel@mozillafoundation.org>
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
network-api/networkapi/wagtailpages/migrations/0039_auto_20210926_2156.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,39 @@ | ||
# Generated by Django 3.1.11 on 2021-09-26 21:56 | ||
|
||
from django.db import migrations, models | ||
import networkapi.wagtailpages.fields | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('wagtailpages', '0038_auto_20210924_2002'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='generalproductpage', | ||
name='ai_can_user_control', | ||
field=networkapi.wagtailpages.fields.ExtendedYesNoField(help_text='Does the user have control over the AI features?'), | ||
), | ||
migrations.AddField( | ||
model_name='generalproductpage', | ||
name='ai_can_user_control_helptext', | ||
field=models.TextField(blank=True, help_text='Helptext that will appear in the can user control section.', max_length=5000), | ||
), | ||
migrations.AddField( | ||
model_name='generalproductpage', | ||
name='ai_is_transparent_helptext', | ||
field=models.TextField(blank=True, help_text='Helptext that will appear in the AI is transparent section.', max_length=5000), | ||
), | ||
migrations.AddField( | ||
model_name='generalproductpage', | ||
name='ai_is_untrustworthy_helptext', | ||
field=models.TextField(blank=True, help_text='Helptext that will appear in the AI is untrustworthy section.', max_length=5000), | ||
), | ||
migrations.AlterField( | ||
model_name='generalproductpage', | ||
name='ai_is_untrustworthy', | ||
field=networkapi.wagtailpages.fields.ExtendedYesNoField(help_text='Is the AI untrustworthy?'), | ||
), | ||
] |