mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 15:27:47 -02:30
Updates to work with REST framework 2.3.x, update browseable API style to mimic UI.
This commit is contained in:
@@ -29,10 +29,14 @@ REST_FRAMEWORK = {
|
||||
'PAGINATE_BY': 25,
|
||||
'PAGINATE_BY_PARAM': 'page_size',
|
||||
'DEFAULT_AUTHENTICATION_CLASSES': (
|
||||
'rest_framework.authentication.TokenAuthentication',
|
||||
'rest_framework.authentication.BasicAuthentication',
|
||||
'rest_framework.authentication.TokenAuthentication',
|
||||
'rest_framework.authentication.SessionAuthentication',
|
||||
)
|
||||
),
|
||||
'DEFAULT_RENDERER_CLASSES': (
|
||||
'rest_framework.renderers.JSONRenderer',
|
||||
'ansibleworks.main.renderers.BrowsableAPIRenderer',
|
||||
),
|
||||
}
|
||||
|
||||
DATABASES = {
|
||||
|
||||
Reference in New Issue
Block a user