web | https://406.ch/ |
---|---|
Author |
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…
Read MoreMay 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 – …
Read MoreMay 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…
Read MoreMay 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 w…
Read MoreApril 14, 2025 » Matthias Kestenholz » [Archived Version]
Customizing Django admin fieldsets without fearing forgotten fields When defining fieldsets on Django modeladmin classes I always worry that I forget updating the fieldsets later when adding or removing new model fields, and not without reason: It has already happened to me several times. Forgetting to remove fields is mostly fine because system checks will complain about it, forgetting to add fields may be real bad. A recent example was a crashing website because a required field was missing f…
Read MoreApril 9, 2025 » Matthias Kestenholz » [Archived Version]
Weeknotes (2025 week 15) Djangonaut Space We have already reached the final week of the Djangonaut Space session 4. I had a great time as a navigator and am looking forward to participate more, but for now I’m also glad that I do not have the additional responsibility at least for the close future. We have done great work on the django-debug-toolbar in our group, more is to come. Progress on the prose editor I have done much work on django-prose-editor in the last few weeks and after a la…
Read MoreMarch 12, 2025 » Matthias Kestenholz » [Archived Version]
Ungoogling my life I was dismayed (but unfortunately not really surprised) to see all the big tech CEOs kiss the ring during the inauguration a few weeks back. I decided then that I didn’t want to subscribe to any products of these companies with my personal money anymore. In my case, this meant only Google. I do have an iPhone (the first iPhone since the 3GS or something) but I’m not paying any subscriptions there either. I have been a paying Google subscriber for years and years, …
Read More