Skip to content
Snippets Groups Projects
Unverified Commit 07dfd0f8 authored by Calen Pennington's avatar Calen Pennington Committed by GitHub
Browse files

Merge pull request #20036 from cpennington/devstack-browsable-api

Add BrowsableAPIRenderer to devstack to make debugging easier
parents 49dc2f0a 34fb3fe5
No related branches found
Tags release-2020-10-30-12.40
No related merge requests found
......@@ -265,6 +265,13 @@ JWT_AUTH.update({
from openedx.core.djangoapps.plugins import plugin_settings, constants as plugin_constants
plugin_settings.add_plugins(__name__, plugin_constants.ProjectType.LMS, plugin_constants.SettingsType.DEVSTACK)
######################### Django Rest Framework ########################
REST_FRAMEWORK['DEFAULT_RENDERER_CLASSES'] += (
'rest_framework.renderers.BrowsableAPIRenderer',
)
#####################################################################
# See if the developer has any local overrides.
if os.path.isfile(join(dirname(abspath(__file__)), 'private.py')):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment