edx-enterprise is a core Django application that provides enterprise-level features to the Open edX platform. It enables functionalities for Enterprise Customers, allowing organizations to manage and track learner engagement with courses. The library is typically installed as part of an Open edX instance and is currently at version 7.0.4, with frequent patch releases and major versions updating every few months.
pip install edx-enterpriseVerified import paths — ran on the pinned version, not inferred.
To quickly integrate edx-enterprise into an existing Open edX instance, ensure it is installed in the Python environment. For Open edX versions 6.8.0 and newer, the application should be automatically loaded. The critical step is to apply database migrations specific to the 'enterprise' app. Afterward, its administrative interface becomes accessible within the Open edX Django admin portal.
Upgrade Python environment to 3.12+ (e.g., Python 3.12.0) before deploying edx-enterprise 7.0.0 or later.
Update any custom SAML integration code or configurations to use `enterprise_customer_uuid` in query parameters instead of `enterprise-id`.
For older Open edX versions, manually add `'enterprise'` to your `INSTALLED_APPS` list in your Django settings file (e.g., `lms/envs/common.py` and `cms/envs/common.py`).
Prefer using documented APIs (REST or Python, if encapsulated) and plugin hooks for extensions. Avoid direct imports or patches into core edx-platform code for enterprise-related features. Refer to Open edX's plugin framework documentation for best practices.