From f73404097e7e8e1bc34b1e05d5b463a22d3d6a65 Mon Sep 17 00:00:00 2001 From: Hamzah Ullah Date: Mon, 20 May 2024 14:45:34 -0400 Subject: [PATCH] fix: Update language for disable_expiry_messaging_for_learner_credit field (#2110) --- CHANGELOG.rst | 4 ++++ enterprise/__init__.py | 2 +- ...y_messaging_for_learner_credit_and_more.py | 23 +++++++++++++++++++ enterprise/models.py | 5 ++-- 4 files changed, 31 insertions(+), 3 deletions(-) create mode 100644 enterprise/migrations/0209_alter_enterprisecustomer_disable_expiry_messaging_for_learner_credit_and_more.py diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ebe55a0ddf..d37b1e4437 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -17,6 +17,10 @@ Unreleased ---------- * nothing unreleased +[4.19.1] +-------- +* fix: Update language for disable_expiry_messaging_for_learner_credit field + [4.19.0] -------- * feat: Introduce disable_expiry field on the enterprise customer model diff --git a/enterprise/__init__.py b/enterprise/__init__.py index d6f1f9ac85..81d2df28c6 100644 --- a/enterprise/__init__.py +++ b/enterprise/__init__.py @@ -2,4 +2,4 @@ Your project description goes here. """ -__version__ = "4.19.0" +__version__ = "4.19.1" diff --git a/enterprise/migrations/0209_alter_enterprisecustomer_disable_expiry_messaging_for_learner_credit_and_more.py b/enterprise/migrations/0209_alter_enterprisecustomer_disable_expiry_messaging_for_learner_credit_and_more.py new file mode 100644 index 0000000000..392d8d769b --- /dev/null +++ b/enterprise/migrations/0209_alter_enterprisecustomer_disable_expiry_messaging_for_learner_credit_and_more.py @@ -0,0 +1,23 @@ +# Generated by Django 4.2.13 on 2024-05-20 18:02 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('enterprise', '0208_enterprisecustomer_disable_expiry_messaging_for_learner_credit_and_more'), + ] + + operations = [ + migrations.AlterField( + model_name='enterprisecustomer', + name='disable_expiry_messaging_for_learner_credit', + field=models.BooleanField(default=False, help_text='If checked, learners and admins will not receive notifications leading up to the expiration date for learner credit plans. Notifications signaling the expiration (and loss of usability) itself will still appear.', verbose_name='Disable expiration messaging for learner credit'), + ), + migrations.AlterField( + model_name='historicalenterprisecustomer', + name='disable_expiry_messaging_for_learner_credit', + field=models.BooleanField(default=False, help_text='If checked, learners and admins will not receive notifications leading up to the expiration date for learner credit plans. Notifications signaling the expiration (and loss of usability) itself will still appear.', verbose_name='Disable expiration messaging for learner credit'), + ), + ] diff --git a/enterprise/models.py b/enterprise/models.py index 71b9779763..ff811c845a 100644 --- a/enterprise/models.py +++ b/enterprise/models.py @@ -315,8 +315,9 @@ class Meta: disable_expiry_messaging_for_learner_credit = models.BooleanField( verbose_name="Disable expiration messaging for learner credit", default=False, - help_text=_("If checked, learners and admins will not receive expiration-related email and " - "other notifications regarding learner credit plans.") + help_text=_("If checked, learners and admins will not receive notifications leading up to the expiration " + "date for learner credit plans. Notifications signaling the expiration (and loss of usability) " + "itself will still appear.") ) enable_portal_code_management_screen = models.BooleanField(