Django

Recent Articles

Using uv to Manage Django Projects

uv is a tool from Astral.sh that helps you manage Python tools and development projects. For all the details you can read the docs, but here’s a quick lesson in what it can do and how it can help Python developers in the daily grind of developing Python software. We’ll walk through managing a hypothetical Django project.

Continue reading

Django Settings: Three Things Conflated

If you work on a large Django project, there’s a good chance that you would describe your settings file as “a mess” (or perhaps you use harsher language). You may even have broken your settings out into a whole package with multiple files to try and keep things organized. We’re highly skilled and organized developers, how does this happen to us?

I believe part of the problem is that the “settings” bucket holds three different kinds of things without differentiating between them. If you make a clear distinction between these things in your own mind (and in your code), dealing with settings will become easier, if not easy.

Continue reading