/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

www.django-rest-framework.org
| | www.laceyhenschel.com
0.9 parsecs away

Travel
| | Sometimes the endpoints you get when you use a ModelViewSet aren't enough and you need to add extra endpoints for custom functions. To do this, you could use the APIView class and add a custom route to your `urls.py` file, and that would work fine. But if you have a viewset already, and you feel like this new endpoint belongs with the other endpoints in your viewset, you can use DRF's @action decorator to add a custom endpoint. This means you don't have to change your urls.py -- the method you decorate w...
| | www.cdrf.co
0.8 parsecs away

Travel
| | Detailed descriptions, with full methods and attributes of ModelViewSet Django REST Framework class.
| | davi.sh
1.2 parsecs away

Travel
| | ListSerializerMixin: Specify a different viewset serializer for lists
| | gist.github.com
22.1 parsecs away

Travel
| Generic `printf` implementation in Idris2. GitHub Gist: instantly share code, notes, and snippets.