Custom Search

Tuesday, July 14, 2015

django-rest-framework How to disable admin-style browsable interface

Add following lines in settings.py


REST_FRAMEWORK = {
    'DEFAULT_RENDERER_CLASSES': (
        'rest_framework.renderers.JSONRenderer',
    )
}


No comments:

Post a Comment