Hi,

I'm checking out the new new interactive API documentation 
<http://www.django-rest-framework.org/topics/3.6-announcement/#interactive-api-documentation>
 

the routes that are added in below fashion are not visible on the sidebar 
of the *Interactive API documentation*

url(r'^api/', include('social_network.urls')),

in blog.urls

router.register(
    'posts/(?P<post_id>\d+)/comments/',
    CommentViewSet
)


only the routes that are not nested are shown like

url(r'^', include('social_network.urls')),

in blog.urls


router.register(
    'posts',
    PostViewSet
)

settings used

from rest_framework.documentation import include_docs_urls

API_TITLE = 'API title'
API_DESCRIPTION = '...'

urlpatterns = [
    ...
    url(r'^docs/', include_docs_urls(title=API_TITLE, 
description=API_DESCRIPTION))]

djangorestframework==3.6.3
Django==1.11.2
coreapi==2.3.1



Thank You
Manoj

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to