After yesterday's success updating requirements for Bus Times, I decided to do the same with the Amanzi website. This is an extremely simple Django site that serves a single static template from a view. No admin, or authentication, or databases required.
Should have been a simple update, but I decided to take this opportunity to also modernise the code base a bit by adding the pre-commit hooks I've been using on other projects. Which, of course, meant ensuring that everything was nicely formatted with Ruff. And then I noticed that the Whitenoise configuration was a bit out of date too, along with the Docker configuration too...
Read more...