Caktus Blog

Insights and strategies from a team recognized at Python and Django conferences worldwide since 2009. The Caktus Blog is your space for practical how-to’s, real-world solutions, and expert advice on building better user experiences, strengthening quality assurance, solving deep and complex Python/Django problems, and managing projects that deliver impact. Whether you’re refining a UI or prepping for launch, join us to learn, level up, and lead with confidence.

2016


cover-lightweight-django-now-portuguese.jpg

Lightweight Django now in Portuguese!

Hao Nguyen

We’re proud to report that Lightweight Django (O’Reilly Media) is now available in Portuguese as Django Essencial. The book was written by our technical director Mark Lavin and Caktus alumnus Julia Elman to great reviews. Django Essencial comes just in time for Mark’s keynote talk during PyCon Nordeste.

cover-checking-its-all-translatable.png

Checking That It's All Translatable

Dan Poirier

When building a translated application, it's important to test that all of the text is going to be translated, but difficult to tell until the translation has been done. Until then, even when you switch languages you still see English everywhere. It's not until all the text that's been set up to be translated actually is that you can see the site in the other language, at which point the English messages stick out like a sore thumb. But that's usually very late in the process. How can we catch those errors earlier?

cover-caktus-internship-give-fuel-career-launch.png

Caktus Internship Fuels a Career Re-Launch

Kathleen Rauh

What is it like to be an intern at Caktus? I am finishing up as the spring Django intern (though I didn’t actually use any Django), so I’ll share my experience.

cover-best-python-libraries.jpg

Best Python Libraries

Liza Chabot

Our love for Python is no secret. But with so many modules, tools, and libraries, it can be overwhelming for beginning developers to identify the most useful. Obviously, our favorite framework is Django. But we’re setting aside our undying love for that framework for a moment to offer a list of other helpful Python libraries. From those offering standard solutions to everyday programming problems, to ones that hold a special place in the heart of the dev who created them, these are some of our developer’s favorite tools for Python development.

cover-time-flexbox-first.png

Time for Flexbox First

Calvin Spealman

The web development community has a habit of declaring “firsts” those practices and approaches that reach some ill-defined status signaling they are the go-to way to solve a particular problem. We’ve seen “mobile first” and, more recently, “offline first.” In these examples, a new problem comes along and as that problem grows more common there comes a tipping point. On the other side of that tipping point, it begins to make sense to solve the problem from the ground up, rather than building a project and solving it as an afterthought.

cover-wagtail-2-steps-adding-pages-outside-cms.png

Wagtail: 2 Steps for Adding Pages Outside of the CMS

Erin Mullaney

My first Caktus project went live late in the summer of 2015. It's a community portal for users of an SMS-based product called RapidPro. The portal was built in the Wagtail CMS framework which has a lovely, intuitive admin interface and excellent documentation for developers and content editors. The code for our Wagtail-based project is all open sourced on GitHub.

cover-writing-unit-tests-django-migrations.jpg

Writing Unit Tests for Django Migrations

Calvin Spealman

Editor's note: This post was originally published in February 2016 and was updated in August 2017 to incorporate improvements suggested by our readers. It has also been tested for compatibility as of the Django 1.11 release.

cover-shipit-day-recap-q1-2016.jpg

ShipIt Day Recap: Q1 2016

Liza Chabot

Last Friday, the Cakti set aside regular client projects for our quarterly ShipIt Day, a chance for personal development and independent projects. People work individually or in groups to flex their creativity, tackle interesting problems, or expand their personal knowledge. This quarter’s ShipIt Day saw everything from cat animations to improvements on our Taylor Swift lyric generator app. Read about the various ShipIt Day projects for Q1 of 2016 below.

cover-trials-tribulations-and-triumphs-choosing-me-platform.jpg

The Trials, Tribulations, and Triumphs of Choosing an M&E Platform

MERLTech 2015 Panel

Republished with permission from ICTWorks.org

At the recent MERL Tech conference, Tania Lee (Caktus Group), Tom Walker (Engine Room), Laura Walker McDonald (SIMLab), and Lynnae Day (Oxfam America) led a session called, “The Trials, Tribulations, and Triumphs of Choosing an M&E Platform.” They’ve written up their reflections and learning from that session focusing on project design, tool design/research, and getting things off the ground, whether that means finding external help or building a custom solution.

cover-modified-preorder-tree-traversal-django.png

Modified Preorder Tree Traversal in Django

Rob Lineberger

Hierarchical data are everywhere, from product catalogs to blog post comments. A classic example is the tree of life, where kingdoms are subdivided into a hierarchy of phylum and class down to genus and species. What if you wish to store this data in a database table, which is inherently flat? Databases do not natively store hierarchies, so you need to work around that.