-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add fields related to custom expiration messaging to CustomerAg…
…reement
- Loading branch information
1 parent
26112bf
commit 0da9030
Showing
4 changed files
with
146 additions
and
9 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
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
53 changes: 53 additions & 0 deletions
53
...ptions/migrations/0070_customeragreement_expired_subscription_modal_messaging_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,53 @@ | ||
# Generated by Django 4.2.16 on 2024-09-20 07:21 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('subscriptions', '0069_alter_customeragreement_disable_expiration_notifications_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='customeragreement', | ||
name='expired_subscription_modal_messaging', | ||
field=models.CharField(blank=True, help_text='The content of a modal that provides instructions on how learners can continue their journey on the B2C site with a discount code.', max_length=255, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='customeragreement', | ||
name='has_custom_license_expiration_messaging', | ||
field=models.BooleanField(default=False, help_text='Indicates if the customer has a unique license expiration experience, instead of the standard one.'), | ||
), | ||
migrations.AddField( | ||
model_name='customeragreement', | ||
name='hyper_link_text_for_expired_modal', | ||
field=models.CharField(blank=True, help_text='The text of the hyperlink in the expired subscription modal.', max_length=255, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='customeragreement', | ||
name='url_for_expired_modal', | ||
field=models.CharField(blank=True, help_text='The URL for the hyperlink in the expired subscription modal.', max_length=255, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='historicalcustomeragreement', | ||
name='expired_subscription_modal_messaging', | ||
field=models.CharField(blank=True, help_text='The content of a modal that provides instructions on how learners can continue their journey on the B2C site with a discount code.', max_length=255, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='historicalcustomeragreement', | ||
name='has_custom_license_expiration_messaging', | ||
field=models.BooleanField(default=False, help_text='Indicates if the customer has a unique license expiration experience, instead of the standard one.'), | ||
), | ||
migrations.AddField( | ||
model_name='historicalcustomeragreement', | ||
name='hyper_link_text_for_expired_modal', | ||
field=models.CharField(blank=True, help_text='The text of the hyperlink in the expired subscription modal.', max_length=255, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='historicalcustomeragreement', | ||
name='url_for_expired_modal', | ||
field=models.CharField(blank=True, help_text='The URL for the hyperlink in the expired subscription modal.', max_length=255, null=True), | ||
), | ||
] |
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