aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/routers.py
diff options
context:
space:
mode:
Diffstat (limited to 'rest_framework/routers.py')
-rw-r--r--rest_framework/routers.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/rest_framework/routers.py b/rest_framework/routers.py
index 01fd4b91..f2d06211 100644
--- a/rest_framework/routers.py
+++ b/rest_framework/routers.py
@@ -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)