django-planet

What's new in Django community blogs?

New goodies in Django 5.0

Nov. 14, 2023 » Django Beats » [Archived Version]

Mariusz Felisiak, a Django and Python contributor and a Django Fellow, shares with us his personal favorites from a “deluge” of exciting new features in Django 5.0. Django on Fly.io is pretty sweet! Check it out: you can be up and running on Fly.io in just minutes. As planned, after 8 months of intensive development, the first alpha and beta versions of Django 5.0 are out! Almost 700 commits were merged to this release. 204 people 💗 and even more unnamed heroes, dedicated their time and effort…

Read More

Django vs Flask: Which is the Best Python Web Framework?

Nov. 10, 2023 » The PyCharm Blog » [Archived Version]

Overview Even if you are new to web development, you probably already know that there are two main web frameworks in the Python world: Django and Flask. According to the Python Developers Survey 2022 conducted by JetBrains, 39% of developers reported using either or both. Whether you are a beginner thinking of what to learn […]

Read More

Django News - 205 Reset Content - Nov 10th 2023

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 More

Django: Maybe disable PostgreSQL’s JIT to speed up many-joined queries

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

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