Add SPEC_URL setting

This commit is contained in:
Cristi Vîjdea
2018-08-09 03:32:04 +03:00
parent 8a69f08c29
commit cd4bd4a18e
5 changed files with 102 additions and 38 deletions
+4
View File
@@ -108,6 +108,10 @@ SWAGGER_SETTINGS = {
}
}
REDOC_SETTINGS = {
'SPEC_URL': ('schema-json', {'format': '.json'}),
}
# Internationalization
# https://docs.djangoproject.com/en/1.11/topics/i18n/