diff --git a/RELEASE.rst b/RELEASE.rst index 86168b0c43..926c9fb8ac 100644 --- a/RELEASE.rst +++ b/RELEASE.rst @@ -1,6 +1,11 @@ Release Notes ============= +Version 1.146.4 +--------------- + +- Change field to match what you learn (#3491) + Version 1.146.3 (Released April 15, 2026) --------------- diff --git a/cms/migrations/0059_alter_certificatepage_verifiable_credential_criteria.py b/cms/migrations/0059_alter_certificatepage_verifiable_credential_criteria.py new file mode 100644 index 0000000000..4521e8b03b --- /dev/null +++ b/cms/migrations/0059_alter_certificatepage_verifiable_credential_criteria.py @@ -0,0 +1,21 @@ +# Generated by Django 5.1.15 on 2026-04-15 15:55 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ("cms", "0058_programpage_include_in_learn_catalog"), + ] + + operations = [ + migrations.AlterField( + model_name="certificatepage", + name="verifiable_credential_criteria", + field=models.TextField( + blank=True, + help_text="For verifiable credentials issued for this certificate, this is the criteria narrative field. It should be something descriptive, like a list of completed courses, and may be plaintext or markdown. If it is not supplied, no verifiable credential will be provisioned for those certificates.", + null=True, + ), + ), + ] diff --git a/cms/models.py b/cms/models.py index eadffc479c..f2d1c7d422 100644 --- a/cms/models.py +++ b/cms/models.py @@ -373,8 +373,7 @@ class CertificatePage(CourseProgramChildPage): use_json_field=True, ) - verifiable_credential_criteria = models.CharField( # noqa: DJ001 - max_length=250, + verifiable_credential_criteria = models.TextField( # noqa: DJ001 null=True, blank=True, help_text="For verifiable credentials issued for this certificate, this is the criteria narrative field. It should be something descriptive, like a list of completed courses, and may be plaintext or markdown. If it is not supplied, no verifiable credential will be provisioned for those certificates.", diff --git a/main/settings.py b/main/settings.py index 53daca35e0..bbe07c8b2f 100644 --- a/main/settings.py +++ b/main/settings.py @@ -37,7 +37,7 @@ from main.sentry import init_sentry from openapi.settings_spectacular import open_spectacular_settings -VERSION = "1.146.3" +VERSION = "1.146.4" log = logging.getLogger()