Feed: Matthias Kestenholz

Blog Matthias Kestenholz
RSS 2.0 Feed Matthias Kestenholz
web https://406.ch/
Last Update09.27.2025
Posts13

LLMs are making me a better programmer...

Sept. 12, 2025 » Matthias Kestenholz » [Archived Version]

LLMs are making me a better programmer… I’m still undecided about LLMs for programming. Sometimes they are very useful, especially when working on a clearly stated problem within a delimited area. Cleaning the code up afterwards is painful and takes a long time though. Even for small changes I’m unsure if using LLMs is a way to save (any) resources, be it time, water, energy or whatever. They do help me get started, and help me be more ambitious. That’s not a new idea. Simon Willison wrote a po…

Read More

Weeknotes (2025 week 37)

Sept. 10, 2025 » Matthias Kestenholz » [Archived Version]

Weeknotes (2025 week 37) I’m having a slow week after the last wisdom tooth extraction. Finally! I’m slowly recuperating from that. I’m trying to split up the blog posts a bit and writing more standalone pieces instead of putting everything into weeknotes. Publishing more focussed pieces sounds like a good thing and should also help me with finding my own writing later. Releases django-content-editor 8.0.2: I fixed the ordering calculation in the cloning functionality; the tests are a bit too …

Read More

Weeknotes (2025 week 35)

Aug. 29, 2025 » Matthias Kestenholz » [Archived Version]

Weeknotes (2025 week 35) Summer was and is nice. The hot days seem to be over (for now), but in the last years summer hasn’t really left until the end of September, so we’ll see. I personally like the warm weather but I really hoped that our leaders were smarter. The climate emergency could be seen from far away. The pigheadedness is hard to stomach. And of course it’s not the only problem we’re facing as humanity at all. Releases I did some longer-form writing about two of the releases here: M…

Read More

django-content-editor now supports cloning of content

Aug. 27, 2025 » Matthias Kestenholz » [Archived Version]

django-content-editor now supports cloning of content What is the content editor? Django’s builtin admin application provides a really good and usable administration interface for creating and updating content. django-content-editor extends Django’s inlines mechanism with an interface and tools for managing and rendering heterogenous collections of content as are often necessary for content management systems. We are using django-content-editor in basically all projects, as a part of feincms3. …

Read More

Menu improvements in django-prose-editor

Aug. 23, 2025 » Matthias Kestenholz » [Archived Version]

Menu improvements in django-prose-editor I have repeatedly mentioned the django-prose-editor project in my weeknotes but I haven’t written a proper post about it since rebuilding it on top of Tiptap at the end of 2024. Much has happened in the meantime. A lot of work went into the menu system (as alluded to in the title of this post), but by no means does that cover all the work. As always, the CHANGELOG is the authoritative source. 0.11 introduced HTML sanitization which only allows HTML tags …

Read More

Weeknotes (2025 week 27)

July 5, 2025 » Matthias Kestenholz » [Archived Version]

Weeknotes (2025 week 27) I have again missed a few weeks, so the releases section will be longer than usual since it covers six weeks. django-prose-editor I have totally restructured the documentation to make it clearer. The configuration chapter is shorter and more focussed, and the custom extensions chapter actually shows all required parts now. The most visible change is probably the refactored menu system. Extensions now have an addMenuItems method where they can add their own buttons to th…

Read More

Preserving referential integrity with JSON fields and Django

June 4, 2025 » Matthias Kestenholz » [Archived Version]

Preserving referential integrity with JSON fields and Django Motivation The great thing about using feincms3 and django-content-editor is that CMS plugins are Django models – if using them you immediately have access to the power of Django’s ORM and Django’s administration interface. However, using one model per content type can be limiting on larger sites. Because of this we like using JSON plugins with schemas for more fringe use cases or for places where we have richer data but do not want t…

Read More

How I'm bundling frontend assets using Django and rspack these days

May 26, 2025 » Matthias Kestenholz » [Archived Version]

How I’m bundling frontend assets using Django and rspack these days I last wrote about configuring Django with bundlers in 2018: Our approach to configuring Django, Webpack and ManifestStaticFilesStorage. An update has been a long time coming. I wanted to write this down for a while already, but each time I started explaining how configuring rspack is actually nice I look at the files we’re using and switch to writing about something else. This time I managed to get through – it’s not that bad,…

Read More

Django, JavaScript modules and importmaps

May 22, 2025 » Matthias Kestenholz » [Archived Version]

How I’m using Django, JavaScript modules and importmaps together I have been spending a lot of time in the last few months working on django-prose-editor. First I’ve rebuilt the editor on top of Tiptap because I wanted a framework for extending the underlying ProseMirror and didn’t want to reinvent this particular wheel. While doing that work I noticed that using JavaScript modules in the browser would be really nice, but Django’s ManifestStaticFilesStorage doesn’t yet support rewriting import …

Read More

Weeknotes (2025 week 21)

May 21, 2025 » Matthias Kestenholz » [Archived Version]

Weeknotes (2025 week 21) I have missed two co-writing sessions and didn’t manage to post much outside of that, but let’s get things back on track. django-prose-editor 0.12 The last weeknotes entry contains more details about the work of really connecting Tiptap extensions with server-side sanitization. 0.12 includes many improvements and bugfixes which have been made during real-world use of the prose editor in customer-facing products. I’m not completely happy about the way we’re specifying th…

Read More