115 Posts Tagged ‘django’

(All tags.)


A Problem with Duplicated Mutable Constants

Hey! You’re just like me!

Here’s a small problem I’ve seen where several modules share versions of the same “constant” variable. It came up in the context of a Django project with multiple settings files, but it could happen in different contexts.

Read more...

On Receiving the Malcolm Tredinnick Award

Flowers.

In December I was awarded the Malcolm Tredinnick Award. This is an annual award, selected by nominations from anyone in the Django community. I’m incredibly honoured to have been selected, joining a fine list of past recipients. I’ve been inspired by every one of them.

Read more...

How to Add a Favicon to Your Django Site

“Paint me an icon!”

Your site’s favicon appears in the browser tab, and is a key way to brand your site. Setting up a favicon is a simple task, but once you start considering vendor-specific icons, it becomes more complicated.

Read more...

Set up EditorConfig for Your Django Project

Let us configure our writing implements to all be the same.

The “tabs versus spaces” war is scheduled to rage on until the heat death of the universe. And whilst the Python ecosystem is firmly in the “spaces” camp, there remain numerous other text formatting options.

Read more...

Book-Driven Development from “Boost Your Django DX”

Take my PR’s, thx

On Monday I released my new book “Boost Your Django DX”. It covers many tools and practices that are useful for developing Django projects.

Read more...

“Boost Your Django DX” Released

The book mascot: Esther the Enhanced Equine.

My new book, Boost Your Django DX is out now. I’m so glad it has shipped and I can relax, a bit 😅

Read more...

My Third Appearance on Django Chat

Ring ring, hello

I’ve again had the pleasure of joining Carlton and Will on the Django Chat podcast, in Episode #105. They moved fast with this one - we spoke yesterday, and the podcast is live today!

Read more...

Today’s Django Security Release Deconstructed (4.0.1, 3.2.11, and 2.2.26)

Gong! It’s like a Django security sprint!

Happy new year, and happy new upgrade! Django has issued a new security release today. This is the first set of security fixes that I’ve been involved in, so I thought I’d take the opportunity to explain the issues in a bit more depth.

Read more...

Set up a Gunicorn Configuration File, and Test It

Gnoo-icorn?

If you use Gunicorn, it’s likely you have a configuration file. This is a Python module that contains settings as module-level variables. Here’s an example with some essential settings:

Read more...

Introducing django-browser-reload: Automatically Reload Your Browser in Development

Round and round we reload.

Hitting “refresh” to see your changes is an instinct many web developers develop. But it’s a small waste of time that adds up to many hours per year spent waiting. It’s a sub-optimal development experience (DX).

Read more...