Re:Flask vs. Django: Worksheet to choose the right framework
by jhgg on Thursday April 23, 2015 @02:09PM
(#9428629)
It's not true at all. I've done nested routers in DRF plenty of times.
You can then access user_id via self.kwargs['user_id'] from within the viewset. And the team ID is implicitly added by the router to support list (and update), and retrieve (delete, put, patch) methods. user_id is also passed as a kwarg to the dispatched method (create, retrieve, etc...)
[ Parent
| on HN ]
There are no comments on this comment yet.