|
You are here |
www.cdrf.co | ||
| | | | |
www.django-rest-framework.org
|
|
| | | | | Django, API, REST, Viewsets | |
| | | | |
stribny.name
|
|
| | | | | How to combine request and response serializers into one for use in ModelViewSets. | |
| | | | |
www.laceyhenschel.com
|
|
| | | | | If you came here from Part 1 of What You Should Know About Django REST Framework, you may be wondering why I just walked you through a bunch of source code. We stepped through that code because if you know what the main methods of the ModelViewSet do and how they work, you know where to go when you want to tweak the behavior of your viewset. You can pull out the method that contains what you want to change, override it with your own custom behavior, and put it back in. In Part 1, we were writing a BookViewSet. So let's go through a few cases where we might want to customize the behavior of our endpoints and walk through how we would do that. | |
| | | | |
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 | ||