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?

Frank Wiles

pytest support for django-test-plus

django-test-plus has long been a useful helper library with Django. Now we've added some simple pytest fixture support to make it even more useful!

Flavio Curella

Today I Learned - Caching uuid's for the win!

More and more often, we see schema designs that use UUIDs as primary keys. That's a valid choice if you're concerned about sharding and partitioning your database, but it has its own drawbacks, sometimes in unexpected places.

Frank Wiles

Today I Learned - Testing import file mismatch

Ran into a weird error with coverage, pytest, and Travis today and wanted to document an easy fix when you get a 'import file mistmatch' error from pip packages you do not control.

Stephen Spencer

Pro-Tip - What the, Kubernetes! -- part 1

Overcoming the read-only configMap with Helm

Flavio Curella

Check This Out - Using Private Packages in Python

With companies moving to microservices, it's becoming common to have a system scattered across multiple repositories. It's frequent to abstract common patterns and code into private repositories that are then included in each service. But using packages from private repos with Python can be tricky. This guide will guide you through the necessary steps.

Lacey Williams Henschel

Today I Learned - Docker: Useful Command Line Stuff

Let’s talk about what it’s like to actually use Docker in your day-to-day.

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