Skip to content

refactor: migrate 10 more flags off FEATURES-as-dict (batch 7)#38904

Open
feanil wants to merge 10 commits into
masterfrom
feanil/features-dict-batch-7
Open

refactor: migrate 10 more flags off FEATURES-as-dict (batch 7)#38904
feanil wants to merge 10 commits into
masterfrom
feanil/features-dict-batch-7

Conversation

@feanil

@feanil feanil commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Migrates 10 more feature flags off settings.FEATURES['X'] dict-style access onto flat settings (settings.X) with @override_settings(X=Y) in tests. Follows the pattern established in #38772.

Each commit migrates a single flag:

  • ENABLE_DJANGO_ADMIN_SITE
  • ENABLE_SERVICE_STATUS
  • ENABLE_SEPARATE_ARCHIVED_COURSES
  • ENABLE_MKTG_EMAIL_OPT_IN
  • ENABLE_STUDENT_HISTORY_VIEW
  • ENABLE_CORS_HEADERS
  • ENABLE_CROSS_DOMAIN_CSRF_COOKIE
  • ENABLE_COURSEWARE_INDEX
  • ENABLE_COURSEWARE_SEARCH_VERIFIED_ENROLLMENT_REQUIRED
  • ENABLE_CHANGE_USER_PASSWORD_ADMIN

@feanil
feanil force-pushed the feanil/features-dict-batch-7 branch from 3ec12cf to f808298 Compare July 17, 2026 21:13
@feanil
feanil requested a review from kdmccormick July 20, 2026 14:51
@feanil
feanil marked this pull request as ready for review July 20, 2026 14:51
@feanil
feanil requested a review from a team as a code owner July 20, 2026 14:51
@feanil
feanil force-pushed the feanil/features-dict-batch-7 branch from 436247b to 76a5776 Compare July 20, 2026 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant