Improve ReDoc initial render time

This slightly improves the render time of ReDoc by reducing the initial load of visible elements.
This commit is contained in:
Cristi Vîjdea 2019-03-04 11:30:40 +02:00
parent 2abfdc90a8
commit 69545199f8

View File

@ -335,6 +335,8 @@ SWAGGER_SETTINGS = {
}
REDOC_SETTINGS = {
'EXPAND_RESPONSES': '',
'NATIVE_SCROLLBARS': True,
'SPEC_URL': reverse_lazy('schema_swagger', kwargs={'format': '.yaml'}),
}