Explore >> Select a destination


You are here

stribny.name
| | humberto.io
7.9 parsecs away

Travel
| | Discover how to separate your stacks to get autonomy between frontend and backend using Angular 6 and Django 2
| | www.django-rest-framework.org
6.3 parsecs away

Travel
| | Django, API, REST, Serializer relations
| | davi.sh
6.6 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....
| | blog.piotrnalepa.pl
55.3 parsecs away

Travel
| After reading this article you'll learn how to expose your Angular components as Web Components/Custom Elements that can be reused in other projects or while during the migration of an old codebase to a newer one.