You are here |
richardtier.com | ||
| | | |
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... | |
| | | |
sam.hooke.me
|
|
| | | | The home page of Sam Hooke. | |
| | | |
devopsian.net
|
|
| | | | Discover the value of API-First design for side projects. Learn how this approach can streamline development, improve consistency, and accelerate your workflow through practical examples and code generation. | |
| | | |
www.softdevtube.com
|
|
| | Computers are orders of magnitude faster than when most of us started programming and yet a lot of software runs much slower than it should. Nobody likes progress bars. Slow code provides for a horrible user experience, drains batteries faster, and increases our cloud bill. This session explores some of the reasons why software is |