From 8c8d355e761a67fffd334dc15bc7bb74238300bc Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Wed, 17 Sep 2014 15:51:17 +0100 Subject: [PATCH] Update routers.py --- rest_framework/routers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rest_framework/routers.py b/rest_framework/routers.py index 01fd4b91a..f2d062118 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)