Skip to content

Commit 70dc4c5

Browse files
committed
fix browsable api mistake
1 parent 1df354b commit 70dc4c5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docker/etc/settings.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@
1111
ANSIBLE_API_HOSTNAME = os.environ.get('PULP_CONTENT_ORIGIN')
1212

1313
GALAXY_API_PATH_PREFIX = "/api/automation-hub"
14-
GALAXY_AUTHENTICATION_CLASSES = [
15-
'galaxy_ng.app.auth.auth.RHIdentityAuthentication',
16-
'galaxy_ng.app.renderers.CustomBrowsableAPIRenderer'
17-
]
14+
GALAXY_AUTHENTICATION_CLASSES = ['galaxy_ng.app.auth.auth.RHIdentityAuthentication']
1815

1916
# GALAXY_AUTO_SIGN_COLLECTIONS = True
2017
# GALAXY_COLLECTION_SIGNING_SERVICE = "ansible-default"
@@ -42,7 +39,10 @@
4239
REDIS_HOST = os.environ.get('PULP_REDIS_HOST')
4340
REDIS_PORT = os.environ.get('PULP_REDIS_PORT')
4441

45-
REST_FRAMEWORK__DEFAULT_RENDERER_CLASSES = ['rest_framework.renderers.JSONRenderer']
42+
REST_FRAMEWORK__DEFAULT_RENDERER_CLASSES = [
43+
'rest_framework.renderers.JSONRenderer',
44+
'galaxy_ng.app.renderers.CustomBrowsableAPIRenderer'
45+
]
4646

4747
_enabled_handlers = ['console']
4848
_extra_handlers = {}

0 commit comments

Comments
 (0)