Update routers.py

This commit is contained in:
Tom Christie 2014-09-17 15:51:17 +01:00
parent 3376c37861
commit 8c8d355e76

View File

@ -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)