mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-23 15:54:16 +03:00
Correct API ROOT to enable parametered urls
This commit is contained in:
parent
6e3ba202af
commit
2109f55244
|
@ -291,6 +291,7 @@ class DefaultRouter(SimpleRouter):
|
|||
try:
|
||||
ret[key] = reverse(
|
||||
url_name,
|
||||
kwargs=kwargs,
|
||||
request=request,
|
||||
format=kwargs.get('format', None)
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user