Feed: Simon Willison's Weblog: django

Is async Django ready for prime time?

Nov. 24, 2024 » Simon Willison's Weblog: django » [Archived Version]

Is async Django ready for prime time? Jonathan Adly reports on his experience using Django to build ColiVara, a hosted RAG API that uses ColQwen2 visual embeddings, inspired by the ColPali paper. In a breach of Betteridge's law of headlines the answer to the question posed by this headline is “yes”. We believe async Django is ready for production. In theory, there should be no performance loss when using async Django instead of FastAPI for the same tasks. The ColiVara application is itself op…

Read More

django-plugin-django-debug-toolbar

Nov. 13, 2024 » Simon Willison's Weblog: django » [Archived Version]

django-plugin-django-debug-toolbar Tom Viner built a plugin for my DJP Django plugin system that configures the excellent django-debug-toolbar debugging tool. You can see everything it sets up for you in this Python code: it configures installed apps, URL patterns and middleware and sets the INTERNAL_IPS and DEBUG settings. Here are Tom's running notes as he created the plugin. Via @tomviner Tags: djp, django, plugins

Read More

Quoting Jacob Kaplan-Moss

Oct. 20, 2024 » Simon Willison's Weblog: django » [Archived Version]

It feels like we’re at a bit of an inflection point for the Django community. [...] One of the places someone could have the most impact is by serving on the DSF Board. Like the community at large, the DSF is at a transition point: we’re outgrowing the “small nonprofit” status, and have the opportunity to really expand our ambition and reach. In all likelihood, the decisions the Board makes over the next year or two will define our direction and strategy for the next decade. — Jacob Kaplan-Moss…

Read More

2025 DSF Board Nominations

Oct. 16, 2024 » Simon Willison's Weblog: django » [Archived Version]

2025 DSF Board Nominations The Django Software Foundation board elections are coming up. There are four positions open, seven directors total. Terms last two years, and the deadline for submitting a nomination is October 25th (the date of the election has not yet been decided). Several community members have shared "DSF initiatives I'd like to see" documents to inspire people who may be considering running for the board: Sarah Boyce (current Django Fellow) wants a marketing strategy, better co…

Read More

jefftriplett/django-startproject

Oct. 12, 2024 » Simon Willison's Weblog: django » [Archived Version]

jefftriplett/django-startproject Django's django-admin startproject and startapp commands include a --template option which can be used to specify an alternative template for generating the initial code. Jeff Triplett actively maintains his own template for new projects, which includes the pattern that I personally prefer of keeping settings and URLs in a config/ folder. It also configures the development environment to run using Docker Compose. The latest update adds support for Python 3.13, D…

Read More

If we had $1,000,000…

Oct. 8, 2024 » Simon Willison's Weblog: django » [Archived Version]

If we had $1,000,000… Jacob Kaplan-Moss gave my favorite talk at DjangoCon this year, imagining what the Django Software Foundation could do if it quadrupled its annual income to $1 million and laying out a realistic path for getting there. Jacob suggests leaning more into large donors than increasing our small donor base: It’s far easier for me to picture convincing eight or ten or fifteen large companies to make large donations than it is to picture increasing our small donor base tenfold. S…

Read More

Django Commons

Oct. 8, 2024 » Simon Willison's Weblog: django » [Archived Version]

Django Commons Django Commons is a really promising initiative started by Tim Schilling, aimed at the problem of keeping key Django community projects responsibly maintained on a long-term basis. Django Commons is an organization dedicated to supporting the community's efforts to maintain packages. It seeks to improve the maintenance experience for all contributors; reducing the barrier to entry for new contributors and reducing overhead for existing maintainers. I’ve stated recently that I’d…

Read More

Thoughts on the Treasurer Role at Tech NonProfits

Oct. 7, 2024 » Simon Willison's Weblog: django » [Archived Version]

Thoughts on the Treasurer Role at Tech NonProfits Will Vincent, Django Software Foundation treasurer from 2020-2022, explains what’s involved in the non-profit role with the highest level of responsibility and trust. Tags: dsf, django

Read More

Building an automatically updating live blog in Django

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 More

Weeknotes: Three podcasts, two trips and a new plugin system

Sept. 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 More