Explore >> Select a destination


You are here

saptaks.blog
| | stribny.name
2.0 parsecs away

Travel
| | How to combine request and response serializers into one for use in ModelViewSets.
| | corgibytes.com
3.4 parsecs away

Travel
| | I've spent the last couple of months working on an API written using Python, Django, and Django REST Framework (DRF). The latter is a popular, well-established framework for building APIs in Python, so I assumed it would have decent documentation surrounding relational fields, which is a fairly common situation in any model-view-controller (MVC) framework. It turns out that was a faulty assumption.
| | www.django-rest-framework.org
1.8 parsecs away

Travel
| | Django, API, REST, Serializer relations
| | www.laceyhenschel.com
8.4 parsecs away

Travel
| One of the things I hear people say about Django is that it's a "batteries included" framework, and Django REST Framework is no different. One of the most powerful of these "batteries" is the ModelViewSet class, which is more of a "battery pack," in that it contains several different batteries. If you have any experience with Django's class-based views, then DRF's viewsets will hopefully look familiar to you.