Explore >> Select a destination


You are here

stribny.name
| | www.django-rest-framework.org
1.1 parsecs away

Travel
| | Django, API, REST, Serializer relations
| | www.mattlayman.com
1.9 parsecs away

Travel
| | If you use Django REST Framework and the DRF JSON API extension, you may want to learn how to sideload extra resources to save on network requests of commonly paired models. We will explore the extra settings required to make that happen.
| | davi.sh
1.4 parsecs away

Travel
| | I often want to include related nested objects in my Django REST Framework ModelViewSets for CRUD operations, but don't want those related objects cluttering up the list view. To accomplish this, you can return a serializer from get_serializer_class() that doesn't include the nested relation when the ViewSet action is list. I ended up doing this on a bunch of viewsets, so I factored the logic out into a separate mixin: from typing import Union from rest_framework import viewsets class ListSerializerMixi....
| | keepsimple.dev
14.4 parsecs away

Travel
| Learn how to build a board list page for your Trello clone! This tutorial covers creating boards, using Alpine.js for interactivity.