Nov. 10, 2023 » Django News » [Archived Version]
News Python Developers Survey 2023 The annual Python developers survey is out. Please take a moment to share your Python practices as the results do have a big impact on the organizations and maintainers in our community. alchemer.com Takahē: Life-Critical Side Projects Andrew Godwin, the developer of Takahē, is looking for new maintainers who want to help out in exchange for mentorship. aeracode.org Updates to Django …
Read MoreNov. 9, 2023 » Adam Johnson » [Archived Version]
Here’s a write-up of an optimization I made in my client Silvr’s project. I ended up disabling a PostgreSQL feature called the JIT (Just-In-Time) compiler which was taking a long time for little benefit. This behaviour was observed on PostgreSQL 14, so things may have improved since. Although …
Read MoreNov. 6, 2023 » Paolo Melchiorre » [Archived Version]
An introduction to database generated columns, using SQLite and the new GeneratedField added in Django 5.0.
Read MoreNov. 4, 2023 » Better Simple » [Archived Version]
A guided deep dive into Django's source code to understand why your application is failing CSRF validation.
Read MoreNov. 3, 2023 » Django News » [Archived Version]
News Django security releases issued: 4.2.7, 4.1.13, and 3.2.23 A new security release for a potential denial of service vulnerability in UsernameField on Windows. As ever, the best security practice is to keep your Django version up to date with the latest release. djangoproject.com Python Software Foundation News: Announcing our new Community Communications Manager! The PSF's first Communications Manager will establish a PSF communicatio…
Read MoreNov. 3, 2023 » Anže’s Blog » [Archived Version]
Speed up your SQLite writes and reads with this crazy trick. 🤪
Read MoreNov. 2, 2023 » Matthias Kestenholz: Posts about Django » [Archived Version]
Weeknotes (2023 week 44)Unmaintained but maintained packages There’s a discussion going on in the django-mptt issue tracker about the maintenance state of django-mptt. I have marked the project as unmaintained in March 2021 and haven’t regretted this decision at all. I haven’t had to fix inconsistencies in the tree structure once since switching to django-tree-queries. And if that wasn’t enough, I get little but only warm and thankful feedback for the latter, so that’s extra nice. Despite marki…
Read MoreNov. 2, 2023 » Django on Matt Layman » [Archived Version]
In this episode, we cleaned up the email sending job. I had to make some changes based on some discoveries that I made while researching how to track responses and associate the journal entries back to the user. While doing this clean up, we added a new Prompt model to make the email sending job idempotent for each day.
Read MoreNov. 2, 2023 » Django on Matt Layman » [Archived Version]
In this episode, we cleaned up the email sending job. I had to make some changes based on some discoveries that I made while researching how to track responses and associate the journal entries back to the user. While doing this clean up, we added a new Prompt model to make the email sending job idempotent for each day.
Read MoreNov. 1, 2023 » The Django weblog » [Archived Version]
In accordance with our security release policy, the Django team is issuing Django 4.2.7, Django 4.1.13, and Django 3.2.23. These releases addresses the security issue detailed below. We encourage all users of Django to upgrade as soon as possible. CVE-2023-46695: Potential denial of service vulnerability in UsernameField on Windows The NFKC normalization is slow on Windows. As a consequence, django.contrib.auth.forms.UsernameField was subject to a potential denial of service attack via certain…
Read More