Skip to content
This repository was archived by the owner on Sep 16, 2022. It is now read-only.

Commit 82836c0

Browse files
authored
Merge pull request #248 from CSCfi/CSCMETAX-385-drf-3.8-fixes
CSCMETAX-385: [ADD] Upgrade DRF to version >= 3.8. Fix breaking chang…
2 parents 05a986f + 11bf566 commit 82836c0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ python-dateutil==2.7.1
44
Django==2.0 # BSD-license
55
elasticsearch<6.0.0
66
hiredis==0.2.0 # Used by redis (redis-py) for parser
7-
djangorestframework==3.7.7 # BSD-license
7+
djangorestframework==3.8.2 # BSD-license
88
django-rainbowtests==0.6.0 # colored test output
99
flake8==3.5.0 # MIT-license
1010
gevent==1.2.2 # gunicorn dep

src/metax_api/api/rest/base/router.py

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ def __init__(self, *args, **kwargs):
4444
'delete': 'destroy_bulk' # custom
4545
},
4646
name='{basename}-list',
47+
detail=False,
4748
initkwargs={'suffix': 'List'}
4849
))
4950
super(CustomRouter, self).__init__(*args, **kwargs)

0 commit comments

Comments
 (0)