Commit 8c8d355e by Tom Christie

Update routers.py

parent 3376c378
...@@ -295,6 +295,7 @@ class DefaultRouter(SimpleRouter): ...@@ -295,6 +295,7 @@ class DefaultRouter(SimpleRouter):
format=kwargs.get('format', None) format=kwargs.get('format', None)
) )
except NoReverseMatch: except NoReverseMatch:
# Don't bail out if eg. no list routes exist, only detail routes.
continue continue
return Response(ret) return Response(ret)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment