Oct. 2, 2024 » Simon Willison's Weblog: django » [Archived Version]
Building an automatically updating live blog in Django Here's an extended write-up of how I implemented the live blog feature I used for my coverage of OpenAI DevDay yesterday. I built the first version using Claude while waiting for the keynote to start, then upgraded it during the lunch break with the help of GPT-4o to add sort options and incremental fetching of new updates. Tags: claude, ai, django, llms, javascript, ai-assisted-programming, generative-ai, chatgpt
Read MoreSept. 30, 2024 » Simon Willison's Weblog: django » [Archived Version]
I fell behind a bit on my weeknotes. Here's most of what I've been doing in September. Lisbon, Portugal and Durham, North Carolina I had two trips this month. The first was a short visit to Lisbon, Portugal for the Python Software Foundation's annual board retreat. This inspired me to write about Things I've learned serving on the board of the Python Software Foundation. The second was to Durham, North Carolina for DjangoCon US 2024. I wrote about that one in Themes from DjangoCon US 2024. My t…
Read MoreSept. 29, 2024 » Simon Willison's Weblog: django » [Archived Version]
Ensuring a block is overridden in a Django template Neat Django trick by Tom Carrick: implement a Django template tag that raises a custom exception, then you can use this pattern in your templates: {% block title %}{% ensure_overridden %}{% endblock %} To ensure you don't accidentally extend a base template but forget to fill out a critical block. Via Carlton Gibson Tags: django, python
Read MoreSept. 28, 2024 » Simon Willison's Weblog: django » [Archived Version]
DjangoTV Brand new site by Jeff Triplett gathering together videos from Django conferences around the world. Here's Jeff's blog post introducing the project. Via @webology Tags: jeff-triplett, django
Read MoreSept. 27, 2024 » Simon Willison's Weblog: django » [Archived Version]
I just arrived home from a trip to Durham, North Carolina for DjangoCon US 2024. I’ve already written about my talk where I announced a new plugin system for Django; here are my notes on some of the other themes that resonated with me during the conference. Growing the Django Software Foundation (DSF) Could we fund a Django LTS accessibility audit? Django fellows continue to provide outstanding value Django needs feature champions htmx fits Django really well Django Ninja has posi…
Read MoreSept. 27, 2024 » Django News » [Archived Version]
News 2025 DSF Board Nominations Nominations are open for the 2025 Django Software Foundation Board of Directors and there are 4 positions currently open, with each position serving for two years. djangoproject.com PyCharm & Django Campaign 2024 - encore The Django Software Foundation's biggest fundraising event of the year is here! djangoproject.com Updates to Django Today 'Updates to Django' is pres…
Read MoreSept. 27, 2024 » james.walters.click » [Archived Version]
Hello, hello! Just a few things this week: Gaming Again 🎮️ I've spent some time playing a few videogames lately, a pastime I've had very little time for in this phase of life. Accordingly, I'm not going to call myself a "gamer" in any sense recognizable in the modern world. But …
Read MoreSept. 27, 2024 » Django on Matt Layman » [Archived Version]
In this episode, we worked on the cloud migration’s data strategy. I focused on how to convert a Postgres database into a SQLite database and planned out the process that I will follow to do the actual migration.
Read MoreSept. 27, 2024 » Django on Matt Layman » [Archived Version]
In this episode, we worked on the cloud migration’s data strategy. I focused on how to convert a Postgres database into a SQLite database and planned out the process that I will follow to do the actual migration.
Read MoreSept. 26, 2024 » Simon Willison's Weblog: django » [Archived Version]
django-plugin-datasette I did some more work on my DJP plugin mechanism for Django at the DjangoCon US sprints today. I added a new plugin hook, asgi_wrapper(), released in DJP 0.3 and inspired by the similar hook in Datasette. The hook only works for Django apps that are served using ASGI. It allows plugins to add their own wrapping ASGI middleware around the Django app itself, which means they can do things like attach entirely separate ASGI-compatible applications outside of the regular Djan…
Read More