From aee7170b253988acbfc46811ce717e78e07061b0 Mon Sep 17 00:00:00 2001 From: Troy Sankey Date: Wed, 25 Mar 2026 19:50:53 -0700 Subject: [PATCH] fix: also register enterprise and consent as CMS plugins Somehow I missed testing with CMS on openedx-platform, and as a result the CMS unit tests failed due to platform code which imports `enterprise.models` without having the enterprise app installed. It's weird because CMS doesn't actually use anything from enterprise, but makes sense because CMS and LMS share the same source code. ENT-11663 --- CHANGELOG.rst | 4 ++++ enterprise/__init__.py | 2 +- setup.py | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 0b8653ca1a..4c02c6e813 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -17,6 +17,10 @@ Unreleased ---------- * nothing unreleased +[6.8.1] - 2026-03-25 +--------------------- +* fix: also register enterprise and consent as CMS plugins (ENT-11663) + [6.8.0] - 2026-03-24 --------------------- * feat: register enterprise and consent as openedx LMS plugins (ENT-11663) diff --git a/enterprise/__init__.py b/enterprise/__init__.py index 283edc67b2..ecbf660528 100644 --- a/enterprise/__init__.py +++ b/enterprise/__init__.py @@ -2,4 +2,4 @@ Your project description goes here. """ -__version__ = "6.8.0" +__version__ = "6.8.1" diff --git a/setup.py b/setup.py index 2f12b6ae9b..fc44991ce0 100755 --- a/setup.py +++ b/setup.py @@ -88,6 +88,10 @@ def get_requirements(requirements_file): "enterprise = enterprise.apps:EnterpriseConfig", "consent = consent.apps:ConsentConfig", ], + "cms.djangoapp": [ + "enterprise = enterprise.apps:EnterpriseConfig", + "consent = consent.apps:ConsentConfig", + ], }, description="""Your project description goes here""", long_description=f"{README}\n\n{CHANGELOG}",