I am currently documenting the API I have created for an app.
I'm using the built in documentation system that comes with Django Rest Framework and coreapi (as described here).
class MyAPI(APIView):
schema = ManualSchema(fields=[coreapi.Field(...), ...],
description='Describe this view')
I set up the url for the docs in the urls.py for the API app:
url_patterns = [
url(r'^docs/', include_docs_urls('My API Title')),
...
]
The problem I have is that when I visit the docs I see the admin API docs alongside my API docs.
I've tried using the answer to this question:
REST_FRAMEWORK = {
'DEFAULT_RENDERER_CLASSES': (
'rest_framework.renderers.JSONRenderer',
)
}
But the admin docs still show up.
Is there a way to hide the admin docs?