Django

2025


How to fix factory_boy post-generation deprecation warnings

We use factory_boy for bootstrapping test data on many Python and Django projects at Caktus. Recently, we encountered a deprecation warning on an older project that had been using factory_boy for some time:

2024


cover-reflections-djangocon-us-2024-highlights-takeaways-and-community-connections.jpg

Reflections on DjangoCon US 2024: Highlights, Takeaways, and Community Connections

DjangoCon 2024 was a resounding success for the community, with attendees from all over the world gathering to learn about the latest developments in Django and to connect with the Django community. Caktus was well-represented at the conference, with six of our team members attending. In this blog post, we share our experiences at DjangoCon 2024, including our favorite talks, the people we met, and the things we learned. We also offer some tips for future attendees on how to get the most out of DjangoCon.

2023


cover-migrating-django-project-gpu-convenience-image-circleci.jpg

Migrating a Django Project from a GPU to a Convenience Image on CircleCI

Recently we learned that as of September 30th, 2023 several linux images will be deprecated, including the one we used, ubuntu-2004:202111-02. Therefore, after September 30th, our pipelines would have failed. To avoid this, we switched several machines in our Django project from Ubuntu GPU images to convenience images; This writing details that switch.

cover-introduction-django-simple-history.jpg

An introduction to Django Simple History

Wouldn’t it be useful if we could document changes in our life and revisit them later at will? It would allow us to better analyze situations, remember what we were thinking, or help us remember how we got to our current state. Although no such tool currently exists for changes in life, one such tool does exist in Django. It is called django-simple-history.

cover-django-con-2022.jpg

Reflection on DjangoCon 2022

Ronard’s Recap

“It takes a village” the African proverb goes. Nowhere was this as apparent as in DjangoCon. It was my first technology conference and my experience could not have been better. People from the most senior developer to fellow juniors and even one of the co-creators of Django made the experience feel warm and inviting. Perhaps knowing that you are surrounded by introverts alleviates the social pressure, knowing that everyone has a common interest, or perhaps even love for programming also brought a soothing feeling to the experience.

2022


cover-meet-new-owners-caktus.jpg

Meet the New Owners of Caktus

Nearly every week, I receive an email or two from a third party expressing interest in buying Caktus. As a matter of habit, I don't open them, let alone respond. Most are scattershot, venture capital firms looking for Software-as-a-Service companies (which Caktus is not). But when an employee approached me in 2018 expressing an interest in making Caktus employee-owned, I listened.

2021


cover-how-django-got-its-name.png

How Django Got Its Name

Pictured: From left to right, musicians Sebastian Peszko, Francisco Batista, and Filippo Dall’Asta in Berlin, Germany.

In early November, my husband and I celebrated a friend’s birthday with dinner and a show. The birthday boy has eclectic tastes and it’s always a treat to be included in his plans. Little did I know, however, that our night out in Berlin, Germany, would be related to my day job with Caktus, which is of course, based in Durham, North Carolina … As a side note, I’ve been working remotely from Berlin since August 2021.

cover-djangocon-2021.png

DjangoCon is Back and Free of Charge

Elizabeth Michalka

We’ve waited eagerly for DjangoCon 2021 since last year’s event was cancelled due to COVID-19. Not only is the event back, but it’s free to attend! DjangoCon will take place virtually on October 22 and 23 — it will be unprecedented since this is the first time the conference will be virtual.

cover-using-celery-scheduling-tasks.png

How to Use Celery for Scheduling Tasks

Dan Poirier

There are multiple ways to schedule tasks in your Django app, but there are some advantages to using Celery. It’s supported, scales well, and works nicely with Django. Given its wide use, there are also lots of resources for learning more about it, and once learned, that knowledge is likely to be useful on other projects.

cover-django-chat-podcast.png

Django Chat is Where it’s At

Elizabeth Michalka
Dorothy Famiano

Have you heard of the Django Chat podcast? With more than 90 episodes on all things Django, it’s full of informative interviews featuring some of the best and brightest in the industry.