Flavio Curella

Dataclasses and attrs: when and why

Python 3.7 introduced dataclasses, which design is based on the "attrs" library. This article will show the way I use dataclasses and attrs, why I think you should use both, and why I think attrs is still very relevant.

Stephen Spencer

Pro-Tip - jetstack/cert-manager on GKE Private Clusters

how to train your validating admission controller webhook without losing a hand

Stephen Spencer

Pro-Tip - Helm & RBAC: Polishing the Doorknob

Because someone has to right this stuff down...

Stephen Spencer

Pro-Tip - GKE: part 2

Accessing a New GKE Cluster

Frank Wiles

Keeping Django Models Ordered

How to smartly keep a set of Django ORM objects in order for drag-n-drop like situations.

Lacey Williams Henschel

Tips for Using Django's ManyToManyField

ManyToManyFields confuse a lot of people. The way you relate objects to each other is just different enough from dealing with ForeignKeys and just uncommon enough in day-to-day Django development that it's easy to forget all the little tricks for dealing with them.

Flavio Curella

Pro-Tip - Slugs as primary keys

A very common pattern in a Django Project is to have some kind of 'model-type' relationship, where you have some kind of object that can only belong to one of the types defined in the database.

Flavio Curella

Pro-Tip - Sentinel values in Python

It is often necessary to differentiate between an argument that has not been provided, and an argument provided with the value `None`. For that purpose, we create what's called a 'sentinel value'.

Lacey Williams Henschel

Today I Learned - Celery and Django and Docker: Oh My!

In this post, you will learn how to create a Celery task inside a Django project in a Docker container. Sounds awesome, right?

Prev 1 2 3 4 5 6 7 8 9 10 Next