chibisov / drf-extensions

DRF-extensions is a collection of custom extensions for Django REST Framework
http://chibisov.github.io/drf-extensions/docs
MIT License
1.48k stars 208 forks source link

NestedRouter doesn't support detail_url #269

Open metawake opened 5 years ago

metawake commented 5 years ago

Using ExtendedDefaultRouter as router and NestedViewSetMixin in top level ViewSet, it's not possible to have a viewset custom method with detail_route or list_route, both would give: TypeError: ReportViewSet() received an invalid keyword 'url_name' Is it a bug or there is an official workaround?