django-planet

What's new in Django community blogs?

Database generated columns⁽¹⁾: Django & SQLite

Nov. 6, 2023 » Paolo Melchiorre » [Archived Version]

An introduction to database generated columns, using SQLite and the new GeneratedField added in Django 5.0.

Read More

Debugging CSRF Failed / 403 Forbidden errors in Django

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

Django News - 204 No Content - Django 4.2.7, 4.1.13, and 3.2.23 Security Release - Nov 3rd 2023

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

SQLite Write-Ahead Logging

Nov. 3, 2023 » Anže’s Blog » [Archived Version]

Speed up your SQLite writes and reads with this crazy trick. 🤪

Read More

Weeknotes (2023 week 44)

Nov. 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&rsq…

Read More

Idempotent Jobs - Building SaaS with Python and Django #174

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

Idempotent Jobs - Building SaaS #174

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

Django security releases issued: 4.2.7, 4.1.13, and 3.2.23

Nov. 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

Django News - Django 5.0 beta 1 released and Django News Jobs - Oct 27th 2023

Oct. 27, 2023 » Django News » [Archived Version]

News Django 5.0 beta 1 released Django 5.0 beta 1 is now available. It represents the second stage in the 5.0 release cycle and is an opportunity for you to try out the changes coming in Django 5.0. djangoproject.com The Ruff Formatter: An extremely fast, Black-compatible Python formatter Ruff added a Black linter/formatter that is over 30x faster than existing tools while maintaining >99.9% compatibility with Black. If you haven't used Ru…

Read More

Luckiest Dev in the World

Oct. 26, 2023 » Better Simple » [Archived Version]

A collection of occurrences in which I've benefited from good luck.

Read More