Please extend example with NameserverViewSet
See original GitHub issueThank you for coding this useful thing. I have a suggestion because I faced a problem while experimenting with your app.
Please consider extending example by providing NameserverViewSet code to make clear how {pk} and domain {domain_pk} should be used in ViewSets.
General example of ViewSet is below, but how to enable filtering by {domain_pk} is not clear, so I have all Nameserver objects listed.
class NameserverViewSet(viewsets.ModelViewSet):
queryset = Nameserver.objects.all()
serializer_class = NameserverSerializer
Issue Analytics
- State:
- Created 10 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Java Extends/Inheritance Example - YouTube
A quick tutorial on how to use extends in java.
Read more >drf-nested-routers - Bountysource
I was wondering if there is a way currently, or maybe implement here in the future, have the default parameter catchers in the...
Read more >django rest framework urls
This function is taking the URL parameter and passes it to a Django template as a dictionary. . User ID. In order to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@artem-fedosov & @cameronblandford: The updated README from #108 does suits your needs? Can I close the issue here?
Will close for now. Can be reopened.