I have been using htmx
and django
for several personal project dashboards.
Instead of doing a full page load, I wanted a way to refresh individual ‘widgets’ and I think I came up with a simple way to handle it.
Read More →
Migrating from Celery
to Django’s Task Framework
is relaltively straight forward.
There are only a few configuration changes needed, and a few simple substitutions.
For more complicated tasks, consulting the tasks framework documentation is recommended.
Read More →
Taking stock of my current development environment.
This could be useful in the future as a comparison point if parts of my development environment change.
Read More →
Most Django models
are managed, and Django will take care of the entire lifecycle.
There are times when working with an external database that it can be useful to use unmanaged
models.
Combined with Django’s inspectdb
command, we can use it to interface with external systems.
Read More →
I have now been in Japan for 11 years.
I still sometimes laugh at how I thought it was a good idea to move between Christmas and New Years, but it ultimately worked out in the end.
Partially due to this, my 来日 (arrival in Japan) anniversary is also a good year-review time.
Though I have not accomplished nearly as much as I had naively hoped for, I still think overall it was a good year.
Hopefully I will be able to show more progress in 2026.
Read More →
Python has a webbrowser
module that allows scripts to open a webbrowser.
In the past, I have often used this for scripts that create some kind of new web resource, so that it will automatically open the page after creation.
While working on one of my headless servers, I became curious about how it works and how I might be able to tap into it.
Read More →
With Django 6.0
a new tasks framework
was added.
Instead of being a full framework like celery
, it provides the core interface for other tools to build off of.
I created django-inspect-tasks
to help me test.
Read More →
After finding the repo-review
, one of the first checks I wanted, was to check some of the justfiles
that I have started using across projects.
Read More →
Django
has a System check framework
that is useful for doing automatic checks.
I wanted something similar that I could use as I update some PyPI projects
.
Thanks to asking a question on Mastodon
, I was introduced to Scientific Python’s repo-review
tool.
Read More →
The default for Forgejo
is to use local storage but I wanted to migrate to Linode (Referral
) Object Storage for better scaling since I am using a lower spec VM for my instance.
I found the post Upgrading Forgejo with S3 Object Storage
which gave me a good starting point.
Read More →