Nov. 26, 2024 » Adam Johnson » [Archived Version]
This post is an adapted extract from my book Boost Your Django DX, available now with a 50% discount for Black Friday 2024. Python’s breakpoint() function opens its debugger, pdb, which pauses the program and allows you to inspect and modify things. Let’s look at an example of …
Read MoreNov. 25, 2024 » Django Development Archives - Simple Thread » [Archived Version]
The Problem The other day my computer ran out of numbers. I was pretty surprised. Well, wait. Let’s go back a bit to before I was surprised. It was a calm, still morning. There I was, having a great day, enjoying a cup of joe, when all of a sudden my database started throwing errors. […] The post How to Upgrade Integer Sizes in Django and Postgres appeared first on Simple Thread.
Read MoreNov. 24, 2024 » The Django weblog » [Archived Version]
This year it was hard to decide, and we wanted to also show who else got nominated, because they also deserve recognition, so it took a bit longer than we expected. The Django Software Foundation Board is pleased to announce that the 2024 Malcolm Tredinnick Memorial Prize has been awarded to Rachell Calhoun. Rachell Calhoun is an influential figure within the Django community, well known for being cheerful and always willing to help others. She consistently empowers folks behind the scenes. …
Read MoreNov. 24, 2024 » The Django weblog » [Archived Version]
The DjangoCon Europe 2026 call for organizers is now over. We’re elated to report we received three viable proposals, a clear improvement over recent years. We’ll let the successful team decide when and how to make their announcement, but in the meantime – thank you to everyone who took part in this process ❤️ We’re elated to have such a strong community in Europe. And for now, look forward to DjangoCon Europe 2025 in Dublin, Ireland! 🍀 What about 2027? We’re not ready to plan that yet, but if …
Read MoreNov. 22, 2024 » Django News » [Archived Version]
News Announcing the 6.x Django Steering Council elections 🚀 The Django Software Foundation has announced early elections for the 6.x Steering Council to address technical governance challenges and guide the project's future direction. djangoproject.com Django Channels 4.2.0 Release Notes Channels 4.2 adds enhanced async support, including improved handling of database connections, compatibility with Django 5.1, and various bug fixes and im…
Read MoreNov. 22, 2024 » Django on Matt Layman » [Archived Version]
In this episode, I continued a migration of my JourneyInbox app from Heroku to DigitalOcean. I switched how environment configuration is pulled and converted cron jobs to use Huey as a background worker. Then I integrated Kamal configuration and walked through what the config means.
Read MoreNov. 21, 2024 » The Django weblog » [Archived Version]
The DSF is once again partnering with JetBrains to run the 2024 Django Developers Survey 🌈 Please take a moment to fill it out! It should only take about 10 minutes to complete. It’s an important metric of Django usage, and is immensely helpful to guide future technical and community decisions. Take the survey The survey will be open until December 21st, 2024. After the survey is over, we will publish the aggregated results. JetBrains will also randomly choose 10 winners (from those who complet…
Read MoreNov. 21, 2024 » The Django weblog » [Archived Version]
Today, we’re announcing early elections for the Django Software Foundation Steering Council over the 6.x Django release cycle. Elected members will be on the Steering Council for two years, from the end of those elections in December, until April 2027 with the scheduled start of the Django 7.x release cycle. Why we have early elections The DSF Board of Directors previously shared Django’s technical governance challenges, and opportunities. Now that the Board elections are completed, we’re ready…
Read MoreNov. 21, 2024 » Adam Johnson » [Archived Version]
Heavy refactoring of models can leave a Django project with “ghost tables”, which were created for a model that was removed without any trace in the migration history. Thankfully, by using some Django internals, you can find such tables. Use the database introspection methods table_names() to list all tables and …
Read MoreNov. 20, 2024 » Matthias Kestenholz: Posts about Django » [Archived Version]
Weeknotes (2024 week 47) I missed a single co-writing session and of course that lead to four weeks of no posts at all to the blog. Oh well. Debugging I want to share a few debugging stories from the last weeks. Pillow 11 and Django’s get_image_dimensions The goal of django-imagefield was to deeply verify that Django and Pillow are able to work with uploaded files; some files can be loaded, their dimensions can be inspected, but problems happen later when Pillow actually tries resizing or…
Read More