Explore >> Select a destination


You are here

davi.sh
| | www.laceyhenschel.com
4.7 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...
| | taylorbrazelton.com
11.7 parsecs away

Travel
| |
| | sam.hooke.me
8.4 parsecs away

Travel
| | The home page of Sam Hooke.
| | www.techelevator.com
36.8 parsecs away

Travel
| I spend my days teaching new developers how to code atTech Elevator's fantastic programming bootcamp. My evenings and weekends, however, belong to my study of data science, artificial intelligence, and...