Closed AdrianRibao closed 8 years ago
If a viewset has a custom method decorated with @list_route, the router it adds the url with a required pk parameter.
@list_route
pk
I'm talking about root routes, not nested ones, I didn't try with a nested route,
Dupe of #91
If a viewset has a custom method decorated with
@list_route
, the router it adds the url with a requiredpk
parameter.I'm talking about root routes, not nested ones, I didn't try with a nested route,