From 2109f552443855313edbcf50ac919ef9b7e5f71a Mon Sep 17 00:00:00 2001 From: "clemence.lop" Date: Tue, 28 Jul 2015 15:55:49 +0200 Subject: [PATCH] Correct API ROOT to enable parametered urls --- rest_framework/routers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rest_framework/routers.py b/rest_framework/routers.py index 380f3bb4f..bba174e67 100644 --- a/rest_framework/routers.py +++ b/rest_framework/routers.py @@ -291,6 +291,7 @@ class DefaultRouter(SimpleRouter): try: ret[key] = reverse( url_name, + kwargs=kwargs, request=request, format=kwargs.get('format', None) )