Skip to content

feat: remove enterprise enrollment API imports and conditional block from enrollments/views.py#38106

Open
pwnage101 wants to merge 3 commits into
masterfrom
pwnage101/ENT-11570
Open

feat: remove enterprise enrollment API imports and conditional block from enrollments/views.py#38106
pwnage101 wants to merge 3 commits into
masterfrom
pwnage101/ENT-11570

Conversation

@pwnage101

@pwnage101 pwnage101 commented Mar 5, 2026

Copy link
Copy Markdown
Contributor

Description

This PR removes those enterprise imports and the conditional block from the enrollment view, then runs the CourseEnrollmentViewStarted filter to handle the enterprise-specific enrollment logic seperately and outside of edx-platform. This is part of an ongoing initiative to leverage openedx-filters to allow enterprise to customize logic and remove it from edx-platform code.

ENT-11570

Supporting information

This is the openedx/openedx-filters#363
This is openedx/edx-enterprise#2553
And this is the corresponding https://github.com/openedx/openedx-platform/pull/38106 (in draft mode rn)

Testing instructions

Testing instructions in the openedx/edx-enterprise#2553.

@kiram15 kiram15 force-pushed the pwnage101/ENT-11570 branch from 61a36f5 to 59fabbe Compare July 10, 2026 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enterprise An enterprise-related change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants