Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NestedRouter doesn't support detail_url #269

Open
metawake opened this issue Oct 30, 2019 · 0 comments
Open

NestedRouter doesn't support detail_url #269

metawake opened this issue Oct 30, 2019 · 0 comments

Comments

@metawake
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant