Commit d20ed5c
docs: drop stale FEATURES-dict references from comments and docstrings
These flags are now flat Django settings, but several comments/docstrings still described
them as FEATURES-dict keys, and each kept a 'settings.FEATURES' reference alive in a
repo-wide grep. Update them to the flat setting they now describe:
- embargo/middleware.py: settings.FEATURES['EMBARGO'] -> settings.EMBARGO
- git_export.py: FEATURE['ENABLE_EXPORT_GIT'] -> ENABLE_EXPORT_GIT setting
- auto_auth.py: settings.FEATURES['AUTOMATIC_AUTH_FOR_TESTING'] -> settings.AUTOMATIC_AUTH_FOR_TESTING
- split_mongo/split.py: reword the historical entrance-exams comment off the dict syntax
- test_auto_auth.py: update the setUp comments to name the flat setting
No code/behavior change; comment/docstring text only.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 1f82a10 commit d20ed5c
5 files changed
Lines changed: 7 additions & 7 deletions
File tree
- cms/djangoapps/contentstore/management/commands
- openedx/core/djangoapps
- embargo
- user_authn/views
- tests
- xmodule/modulestore/split_mongo
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
308 | | - | |
| 308 | + | |
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
332 | | - | |
| 332 | + | |
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1720 | 1720 | | |
1721 | 1721 | | |
1722 | 1722 | | |
1723 | | - | |
| 1723 | + | |
1724 | 1724 | | |
1725 | 1725 | | |
1726 | 1726 | | |
| |||
0 commit comments