Correct API ROOT to enable parametered urls

This commit is contained in:
clemence.lop 2015-07-28 15:55:49 +02:00
parent 6e3ba202af
commit 2109f55244

View File

@ -291,6 +291,7 @@ class DefaultRouter(SimpleRouter):
try: try:
ret[key] = reverse( ret[key] = reverse(
url_name, url_name,
kwargs=kwargs,
request=request, request=request,
format=kwargs.get('format', None) format=kwargs.get('format', None)
) )