mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-25 19:14:01 +03:00
Add args to the function call for unnamed parameters
This commit is contained in:
parent
2109f55244
commit
d2ae7d4fcd
|
@ -291,6 +291,7 @@ class DefaultRouter(SimpleRouter):
|
||||||
try:
|
try:
|
||||||
ret[key] = reverse(
|
ret[key] = reverse(
|
||||||
url_name,
|
url_name,
|
||||||
|
args=args,
|
||||||
kwargs=kwargs,
|
kwargs=kwargs,
|
||||||
request=request,
|
request=request,
|
||||||
format=kwargs.get('format', None)
|
format=kwargs.get('format', None)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user