mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 12:30:11 +03:00
Provide app_name in include_docs_urls
This commit is contained in:
parent
7ff344bf8b
commit
d1e69ad334
|
@ -76,4 +76,4 @@ def include_docs_urls(
|
||||||
url(r'^$', docs_view, name='docs-index'),
|
url(r'^$', docs_view, name='docs-index'),
|
||||||
url(r'^schema.js$', schema_js_view, name='schema-js')
|
url(r'^schema.js$', schema_js_view, name='schema-js')
|
||||||
]
|
]
|
||||||
return include(urls, namespace='api-docs')
|
return include((urls, 'api-docs'), namespace='api-docs')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user