diff --git a/rest_framework_swagger/settings.py b/rest_framework_swagger/settings.py index 9404bc1d..52fd2701 100644 --- a/rest_framework_swagger/settings.py +++ b/rest_framework_swagger/settings.py @@ -26,7 +26,8 @@ ], 'VALIDATOR_URL': '', 'ACCEPT_HEADER_VERSION': None, # e.g. '1.0' - 'CUSTOM_HEADERS': {} # A dictionary of key/vals to override headers + 'CUSTOM_HEADERS': {}, # A dictionary of key/vals to override headers + 'INDEX_PAGE_TITLE_TAG': 'Swagger UI' } IMPORT_STRINGS = [] diff --git a/rest_framework_swagger/templates/rest_framework_swagger/index.html b/rest_framework_swagger/templates/rest_framework_swagger/index.html index b2de7bb4..63cd3281 100644 --- a/rest_framework_swagger/templates/rest_framework_swagger/index.html +++ b/rest_framework_swagger/templates/rest_framework_swagger/index.html @@ -4,7 +4,7 @@ - Swagger UI + {{ INDEX_PAGE_TITLE_TAG }}