in blog | Matthias Kestenholz: Posts about Django |
---|---|
original entry | Weeknotes (2024 week 39) |
Not much going on in OSS land. I have been somewhat active in the official
Django forum, discussing ways to add Python-level hooks to allow adding CSS
classes around form fields and their labels. The discussion on the
forum
and on the pull request goes in
the direction of allowing using custom BoundField
classes per form or even
per project (instead of only per field as is already possible today). This
would allow overriding css_classes
, e.g. to add a simple class="field"
.
Together with :has()
this would probably allow me to skip using custom HTML
templates in 99% of all cases.
I have also been lurking in the Discord, but more to help and less to promote my packages and ideas :-)
index_together
at all. It seems that squashing the migrations
wasn’t sufficient, I also had to actually delete the old migrations.FileResponse
has gained support
for the HTTP Range header, allowing me to remove my homegrown implementation
from the package. The blacknoise implementation is now half as long as it was
in 1.0.