diff --git a/requirements.txt b/requirements.txt index fca41da7..5445bf64 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ python-dateutil==2.7.1 Django==2.0 # BSD-license elasticsearch<6.0.0 hiredis==0.2.0 # Used by redis (redis-py) for parser -djangorestframework==3.7.7 # BSD-license +djangorestframework==3.8.2 # BSD-license django-rainbowtests==0.6.0 # colored test output flake8==3.5.0 # MIT-license gevent==1.2.2 # gunicorn dep diff --git a/src/metax_api/api/rest/base/router.py b/src/metax_api/api/rest/base/router.py index 0670b143..778fb3b2 100755 --- a/src/metax_api/api/rest/base/router.py +++ b/src/metax_api/api/rest/base/router.py @@ -44,6 +44,7 @@ def __init__(self, *args, **kwargs): 'delete': 'destroy_bulk' # custom }, name='{basename}-list', + detail=False, initkwargs={'suffix': 'List'} )) super(CustomRouter, self).__init__(*args, **kwargs)