Skip to content

Commit

Permalink
feat: enable Toggle State API in CMS (openedx#33598)
Browse files Browse the repository at this point in the history
The Toggle State API lets global staff users inspect the
computed state of all toggles, which can be a helpful
short-circuit to reasoning about the various layers of
configuration that feed into edx-platform.

Currently the API is only enabled in LMS. This would enable
it in CMS as well. Although LMS and CMS share many of the same base settings,
they each have their own overrides and extensions to configuration,
so exposing a separate CMS Toggle State API will be beneficial.
  • Loading branch information
kdmccormick authored Dec 13, 2023
1 parent 7656871 commit 8ce5d83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cms/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
path('not_found', contentstore_views.not_found, name='not_found'),
path('server_error', contentstore_views.server_error, name='server_error'),
path('organizations', OrganizationListView.as_view(), name='organizations'),
path('api/toggles/', include('openedx.core.djangoapps.waffle_utils.urls')),

# noop to squelch ajax errors
path('event', contentstore_views.event, name='event'),
Expand Down

0 comments on commit 8ce5d83

Please sign in to comment.