Commit e5cffc6
refactor: migrate STUDIO_REQUEST_EMAIL off FEATURES-as-dict
The v3 studio-home view still read the flag via
`settings.FEATURES.get('STUDIO_REQUEST_EMAIL', '')`. The earlier
STUDIO_REQUEST_EMAIL migration updated the v1 view
(contentstore/rest_api/v1/views/home.py) and course_creators/admin.py to
flat `settings.STUDIO_REQUEST_EMAIL`, but missed this duplicated v3 copy.
The FeaturesProxy bridge kept it working, so CI stayed green.
Read the flag off flat settings with `settings.STUDIO_REQUEST_EMAIL`
(defined in cms/envs/common.py, default `''` — matching the prior `.get`
default). Tests already override it flat via
`@override_settings(..., STUDIO_REQUEST_EMAIL=...)`.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent b5622e7 commit e5cffc6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
0 commit comments