urls.py
```
router = routers.DefaultRouter()
router.register('instagram', InstagramViewSet, base_name='instagram')
api_urls =[
url(r'^api-token-auth/', obtain_jwt_token, name='email-to-jwt'),
url(r'^whatever/$', whatever, name='whatever'),
url(r'^', include(router.urls)),
]
urlpatterns = [
url(r'^api/v1/', include(api_urls)),
url(r'^api/v1/docs/', include_docs_urls(title='Diligence API',
patterns=api_urls))
]
```
When I browse to `127.0.0.1:8000/api/v1/docs` and click the Interact button
for my instagram url, I get back a 404 and the Django debug HTML page which
says that the page was not found because the request URL was
`http://127.0.0.1:8000/instagram/text/`. Note that that url is missing the
`api/v1`.
--
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.