Weeknotes 2023-12-04

, Jochen
It’s really a shame how Cyber Monday has become so commercialized. --Max Leibman

Christmas season is heating up. Work went well, no issues there. For open source, I assumed I'd just add a little management command to django-cast to help me regenerate renditions when I change something about image sizes or formats. But this turned out to be much harder than I expected. I wasn't able to test my management command, because I kept running into strange race conditions / data persistence issues with image.get_renditions. Maybe it's because of the multi-threaded implementation in Wagtail, or a combination of multi-threading and the non-threadsafe nature of sqlite that I use for testing, but it didn't work and I couldn't figure out why. So I put all the rendition logic in another module to be able to test it without using the database. But it's still not in a releasable state - maybe next week 😅.

Mastodon / Twitter

Videos

Software

Podcasts

Out of Context Images

Return to blog