RSSAmplifier

Blog

Jack Linke's Blog

Jack Linke's Blog

jacklinke.comRSS feed ↗12 posts

Latest posts

Why I Love to Photograph Tree Hollows, and Why You Might, Too!

One of my favorite hobbies is taking photos of the contents (and occupants) of tree hollows (or tree cavities). I am fortunate to live near several forested parks with trails through the trees. For whatever reason, the trees in coastal Virginia are a...

Troubleshooting is a Lifestyle 😎

I was reading Rodrigo's blog the other day, and came across a great point in his How I prepare a technical talk article. He says: I don't script my talks, but I typically write a blog article that I use as a reference for my talk. I love the idea -...

Give the Credit; Take the Blame; Fight for Your People

Leadership—whether in the military or in a software company—isn't about titles, and it's definitely not about personal glory. If you want to build a strong, motivated team, there are three simple rules to live by: Give credit where it's due. Take t...

Building django-tomselect

Dynamic form selection widgets with autocomplete can transform how users interact with your application. They make navigating through long lists of options faster and more intuitive, and when paired with multi-column support, they provide the clarity...

Squashing Django Migrations the Easy Way

My django project currently has almost 300 models (and another 80-ish 3rd party models), along with some 250 or so migration files from 6 years of development. This is a common situation in long-running Django projects - as your application grows, mi...

Simplify SaaS App Form Customization With Django Tenant Options

I've been working on a Django package for a couple of years now that solves a specific, but common problem in B2B SaaS applications. If you've ever built a multi-tenant application where different business customers need to customize form options whi...

Alternatives to BooleanField in Django

I hope to expand on some thoughts I have been mulling over regarding the (over)use of BooleanField in Django projects. I rarely use BooleanField in a Django project. In nearly every case where I might be tempted to use BooleanField, a better alternat...

Ideas for Improving Git Commits and Application Logs

Between talks at DjangoCon and conversations with Jeff Triplett @webology and others, I've been thinking a lot about git commits and logging over the past week, so I put together some notes on the topic. gitmoji gitmoji is "an emoji guide for your c...

DjangoCon 2022 Day 1 (20221017) Notes

I had a fantastic day, learned a lot, and met some great people. Here are the notes from the talks I attended today. Day 1 - 0945 - Keynote Jay Miller @kjaymiller Melanie Arbor @melaniearbor They both have faced struggles and challenges, personally...

Standardize Django Template Indentation with DjHTML from Linux command line or PyCharm

What is DjHTML? DjHTML is a pure-Python Django/Jinja template indenter without dependencies. It standardizes the indentation for Django or Jinja templates throughout your Django project. DjHTML (intentionally) only works on one file at a time. ...

Ajax-Enabled Checkbox and Select with Django and HTMX

What we're going to build We want to allow users to set preferences on their profile page. We will look at two elements used for basic settings -- Checkboxes and Selects. Traditionally there are two approaches to settings like these -- Django forms o...

Cheatsheet for Django Models

Basic Cheatsheet for Django Models Updated 10 Oct 2022 Sometimes it is useful to have a condensed version of highly detailed information. This resource is intended mainly for folks who are regularly building out models, are comfortable with the conce...