feat: enable academies by default for all enterprise customers with search (ENT-11220)#2594
Merged
iloveagent57 merged 3 commits intoopenedx:masterfrom Apr 14, 2026
Conversation
e0604d3 to
619d89e
Compare
…earch (ENT-11220)
619d89e to
a4f323a
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2594 +/- ##
=======================================
Coverage 85.91% 85.91%
=======================================
Files 250 250
Lines 16604 16604
Branches 1639 1639
=======================================
Hits 14266 14266
Misses 2001 2001
Partials 337 337
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
rgopalrao-sonata-png
approved these changes
Apr 14, 2026
Contributor
rgopalrao-sonata-png
left a comment
There was a problem hiding this comment.
Migration changes are fine
…academies-default-enabled
iloveagent57
approved these changes
Apr 14, 2026
sjasti-sonata-svg
added a commit
to sjasti-sonata-svg/edx-enterprise
that referenced
this pull request
Apr 15, 2026
…h flag (ENT-11220) Follow-up to openedx#2594. Migration 0244 only enabled academies for customers with enable_integrated_customer_learner_portal_search=True. This adds a data migration that enables academies for ALL existing customers so every row matches the new model-level default.
3 tasks
sjasti-sonata-svg
added a commit
to sjasti-sonata-svg/edx-enterprise
that referenced
this pull request
Apr 15, 2026
…220) Follow-up to openedx#2594. The model default for enable_academies was changed from False to True in that PR, but no corresponding migration was generated. This adds the AlterField migration that Django's makemigrations produces for that change.
sjasti-sonata-svg
added a commit
to sjasti-sonata-svg/edx-enterprise
that referenced
this pull request
Apr 15, 2026
…220) Follow-up to openedx#2594. The model default for enable_academies was changed from False to True in that PR, but no corresponding migration was generated. This adds the AlterField migration that Django's makemigrations produces for that change.
iloveagent57
pushed a commit
that referenced
this pull request
Apr 15, 2026
…220) Follow-up to #2594. The model default for enable_academies was changed from False to True in that PR, but no corresponding migration was generated. This adds the AlterField migration that Django's makemigrations produces for that change.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Currently, Academies is only available to two customers (2U and Siemens). Moving forward, Academies should be a default for all Teams and Enterprise Subscription customers that have search enabled.
What Changed
1. Model default changed (
enterprise/models.py)Changed
enable_academiesdefault fromFalsetoTrueso that all new enterprise customers will have academies enabled automatically.2. Data migration (
enterprise/migrations/0244_enable_academies_for_existing_customers.py)Enables academies for all existing enterprise customers that have
enable_integrated_customer_learner_portal_search=True. This ensures existing customers with search enabled also get academies turned on, not just new ones.Ticket
https://2u-internal.atlassian.net/browse/ENT-11220
Test plan
enable_academies=Trueenable_integrated_customer_learner_portal_search=Truegetenable_academies=Trueafter migrationPostman Testing
