From d2ae7d4fcd96e26fc102ad581859cc72a9a7551c Mon Sep 17 00:00:00 2001 From: Hachikooking Date: Wed, 29 Jul 2015 14:43:25 +0200 Subject: [PATCH] Add args to the function call for unnamed parameters --- rest_framework/routers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rest_framework/routers.py b/rest_framework/routers.py index bba174e67..e72c4987a 100644 --- a/rest_framework/routers.py +++ b/rest_framework/routers.py @@ -291,6 +291,7 @@ class DefaultRouter(SimpleRouter): try: ret[key] = reverse( url_name, + args=args, kwargs=kwargs, request=request, format=kwargs.get('format', None)