/explore
|
You are here |
camilamaia.com | ||
| | | | |
www.paulox.net
Free Software and Open Source code that I shared with thecommunity. |
|
| | | | | ||
| | | | |
www.laceyhenschel.com
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
Detailed descriptions, with full methods and attributes of CreateModelMixin Django REST Framework class. |
|
| | | | | ||
| | | | |
www.softdevtube.com
Programming history is filled with bugs that turned out to be features and limitations that pushed developers to make even more interesting products. We'll journey through code that was so 'bad' it was actually good. Along the way we'll look at the important role failure plays in learning. Then we'll tame our inner perfectionists and |
|
| | | |||