Dec. 27, 2024 » Adam Johnson » [Archived Version]
Previously, I covered using 1/0 to crash Python within minimal typing, useful to quickly answer questions like “does the code even get here?”. Recently, I wanted to do the same in Django templates, to trace if a given template was even being rendered, and under which code paths. It …
Read MoreDec. 25, 2024 » Better Simple » [Archived Version]
A collection of resources to help you get started contributing to Django.
Read MoreDec. 25, 2024 » Josh Karamuth » [Archived Version]
Learn how to create and edit models using Django forms inside a modal using HTMX
Read MoreDec. 24, 2024 » The Django weblog » [Archived Version]
Sarah Abderemane, Thibaud Colas and Tom Carrick are pleased to introduce four new members in the Django Accessibility team ❤️. Marijke Luttekes Eliana Rosselli Tushar Gupta Saptak Sengupta Marijke (pronounced Mah-Rye-Kuh) is a freelance web developer who creates human-friendly applications. She is based in Groningen, The Netherlands, specializing in Django, Python, HTML, SCSS, and vanilla JavaScript. She helps companies expand their existing projects, think about new features…
Read MoreDec. 24, 2024 » Software Crafts » [Archived Version]
Saving template files are broken...
Read MoreDec. 22, 2024 » Simon Willison's Weblog: django » [Archived Version]
I started running a basic link blog on this domain back in November 2003 - publishing links (which I called "blogmarks") with a title, URL, short snippet of commentary and a "via" link where appropriate. So far I've published 7,607 link blog posts and counting. In April of this year I finally upgraded my link blog to support Markdown, allowing me to expand my link blog into something with a lot more room. The way I use my link blog has evolved substantially in the eight months since then. I'm g…
Read MoreDec. 20, 2024 » Matthias Kestenholz: Posts about Django » [Archived Version]
Weeknotes (2024 week 51) Building forms using Django I last wrote about this topic in April. It has resurfaced on Mastodon this week. I’m thinking about writing a feincms3-forms demo app, but I already have too much on my plate. I think composing a forms builder on top of django-content-editor is the way to go, instead of replacing the admin interface altogether – sure, you can always do that, but it’s so much less composable… Releases blacknoise 1.2: No real changes, added support for Python …
Read MoreDec. 20, 2024 » Django News » [Archived Version]
News Django 6.x Steering Council Election Results Congrats to our new Steering Council members. Carlton Gibson Emma Delescolle Frank Wiles Lily Foote Tim Schilling djangoproject.com Django Reached 100%+ Funding! Django successfully reached its funding goal of $200,000 for 2024. It speaks to the volunteer-nature of the project that something with so many moving parts and active contributions can thrive on such a relatively limited budget…
Read MoreDec. 20, 2024 » Software Crafts » [Archived Version]
Continuing from yesterday, the point of this architecture choice is simplify the codebase and align the logic across multiple models, forms and views. However if it doesn't work for the features we need then I'm not against adopting more usual patterns and packages to get the job done (ie django-taggit for tagging/filtering). Before we get into how the filtering works, there is a slight correction from yesterday. It turns out Django Guardian is using a Generic Foreign Key under the hood to link…
Read MoreDec. 19, 2024 » Software Crafts » [Archived Version]
Powering a Django project through permissions
Read More