From d1e69ad33474d728a0e7e32ea5d72ac496d02ec3 Mon Sep 17 00:00:00 2001 From: Carlton Gibson Date: Mon, 16 Oct 2017 10:14:25 +0200 Subject: [PATCH] Provide app_name in include_docs_urls --- rest_framework/documentation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_framework/documentation.py b/rest_framework/documentation.py index 9f9c828bc..8aee5c932 100644 --- a/rest_framework/documentation.py +++ b/rest_framework/documentation.py @@ -76,4 +76,4 @@ def include_docs_urls( url(r'^$', docs_view, name='docs-index'), url(r'^schema.js$', schema_js_view, name='schema-js') ] - return include(urls, namespace='api-docs') + return include((urls, 'api-docs'), namespace='api-docs')