mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 09:36:49 +03:00
Merge pull request #3190 from Hachikooking/master
Correct API ROOT to enable parametered urls
This commit is contained in:
commit
1f50f08f28
|
@ -291,6 +291,8 @@ class DefaultRouter(SimpleRouter):
|
|||
try:
|
||||
ret[key] = reverse(
|
||||
url_name,
|
||||
args=args,
|
||||
kwargs=kwargs,
|
||||
request=request,
|
||||
format=kwargs.get('format', None)
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user