Explore >> Select a destination


You are here

stribny.name
| | www.mattlayman.com
1.9 parsecs away

Travel
| | At Python Frederick this month, I presented on features of pytest to use when testing in Python. We looked at parametrize, test file organization, and fixtures. The recording is up on YouTube.
| | sam.hooke.me
5.7 parsecs away

Travel
| | The home page of Sam Hooke.
| | davi.sh
5.7 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....
| | bbirnbaum.com
30.1 parsecs away

Travel
| As a side project, I built whenyoumightdie.com, a website that helps you visualize the uncertainty around when you might die. I built this not as a gratuitous exercise in morbidity, but rather as a way to remember that there's no time to waste.