Django

2016


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-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-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.

2015


cover-what-we-open-sourced-2015-new-years-retrospective.jpeg

What We Open Sourced in 2015: A New Year's Retrospective

Liza Chabot

This year we had the pleasure of building a number of unique solutions for several organizations. In addition, we had the support of these clients to open source the tools we built. By open sourcing our work, we enable others to use, replicate, and even improve upon the tools we’ve created.

cover-reflecting-my-time-caktus-open-source-fellow.jpg

Reflecting on My Time as Caktus' Open Source Fellow

Ben Phillips

My name is Ben Phillips and I am Caktus’ Open Source Fellow. As my fellowship comes to a close, I wanted to reflect on my time at Caktus and to share my experience and some of what I’ve learned here. First, however, I should probably share how I ended up here in the first place.

cover-cto-colin-copeland-helps-launch-open-data-policing-website.jpg

Caktus CTO Colin Copeland Helps Launch Open Data Policing Website

Hao Nguyen

Today, at Caktus headquarters, CTO and co-founder of Caktus Colin Copeland will stand at a press conference along with activists, police representatives, and elected officials to announce the launch of OpenDataPolicingNC.com. The first site of its kind, OpenDataPolicingNC.com draws on public records to publish up-to-date stop, search, and use-of-force data—broken down by race and ethnicity—for every police department and officer in the state of North Carolina. The volunteer effort, led by The Southern Coalition for Social Justice (SCSJ) and technical leadership by Colin, includes approximately 20 million anonymized data points from 15 years of NC traffic stop data.

cover-cyber-monday-50-django-book-and-videos.jpg

Cyber Monday: 50% off Django book and videos

Hao Nguyen

Are you looking for a good gift for a current or future Django developer? Check out Caktus technical director Mark Lavin’s work for O’Reilly:

cover-initial-data-django.jpg

Initial Data in Django

Dan Poirier

I’ve struggled to find an ideal way to load initial data for Django projects. By “initial data,” I’m referring to the kind of data that you need on a new system for it to be functional, but could change later. These are largely lists of possible choices, such as time zones, countries, or crayon colors.