mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-23 15:54:16 +03:00
Update routers.py
This commit is contained in:
parent
3376c37861
commit
8c8d355e76
|
@ -295,6 +295,7 @@ class DefaultRouter(SimpleRouter):
|
|||
format=kwargs.get('format', None)
|
||||
)
|
||||
except NoReverseMatch:
|
||||
# Don't bail out if eg. no list routes exist, only detail routes.
|
||||
continue
|
||||
|
||||
return Response(ret)
|
||||
|
|
Loading…
Reference in New Issue
Block a user