What's new in Django community blogs?

Testing thoughts are up!

July 12, 2023 » Better Simple » [Archived Version]

I've added some thoughts on testing to my Unsung Developer Thoughts. Check it out!

Read More

Django: Clean up unused code with Vulture

July 11, 2023 » Adam Johnson » [Archived Version]

As projects evolve, old functionality gets removed. Often such deletions are incomplete, leaving in their wake unused functions, classes, and other code objects. Unused code is clutter that brings no joy: it hinders comprehension, taxes codebase-wide quality improvements, and can sometimes lead to errors if later used. In an ideal …

Read More

Django News - Django security releases issued: 4.2.3, 4.1.10, and 3.2.20 - Jul 7th 2023

July 7, 2023 » Django News » [Archived Version]

News Django security releases issued: 4.2.3, 4.1.10, and 3.2.20 These releases address a new security issue. All users of Django are encouraged to upgrade as soon as possible. djangoproject.com Announcing the 2023 Python Software Foundation Board Election Results! Congratulations to the 5 new members. blogspot.com PyCharm & DSF Campaign 2023 In collaboration with JetBrains, Django Software Foundation (DSF) …

Read More

Buy PyCharm. Support Django.

July 5, 2023 » The PyCharm Blog » [Archived Version]

Our annual campaign to support the Django Foundation has launched. Django is super-important to people and companies worldwide! It’s one of Python’s greatest successes. Not just the code, but the project and the non-profit foundation behind it. Django is a tribute to volunteer, open-source development. But Django and the Django Software Foundation need resources, including […]

Read More

PyCharm & DSF Campaign 2023

July 4, 2023 » The Django weblog » [Archived Version]

The Django Software Foundation’s biggest fundraising event of the year is here! https://www.jetbrains.com/pycharm/promo/support-django/ Each year, our friends at JetBrains, the creators of PyCharm, run an incredible deal. You get a 30% discounted year of PyCharm, AND the DSF gets 100% of the proceeds. Plus, get one free month of access to JetBrains Academy, which has courses like Intro to Django, SQL, Git, and more! The fundraiser runs from July 3rd-July 23rd! Buy PyCharm and support Django! Do…

Read More

Django: Flush out test flakiness by randomly ordering QuerySets

July 3, 2023 » Adam Johnson » [Archived Version]

Sometimes code depends on the order of a QuerySet whilst not specifying an order. This can lead to random, flaky test failures because databases can return rows in any order when none is specified. The problem is made worse by some databases, notably PostgreSQL, which nearly always return rows in …

Read More

Django security releases issued: 4.2.3, 4.1.10, and 3.2.20

July 3, 2023 » The Django weblog » [Archived Version]

In accordance with our security release policy, the Django team is issuing Django 4.2.3, Django 4.1.10, and Django 3.2.20. These releases addresses the security issue detailed below. We encourage all users of Django to upgrade as soon as possible. CVE-2023-36053: Potential regular expression denial of service vulnerability in EmailValidator/URLValidator EmailValidator and URLValidator were subject to potential regular expression denial of service attack via a very large number of domain name l…

Read More

Organizing Database Queries: Managers vs. QuerySets

July 3, 2023 » Django Beats » [Archived Version]

In this article Mariusz Felisiak introduces concepts of Django’s Managers and QuerySet to organize common database queries. Django on Fly.io is pretty sweet! Check it out: you can be up and running on Fly.io in just minutes. I’m always focusing on writing readable and maintainable code. When our project becomes bigger and more complex, the number of models and complexity of data access control can increase significantly. We’re starting to ask ourselves questions: How to organize data structur…

Read More

Django: A version of json_script for pre-serialized JSON strings

July 1, 2023 » Adam Johnson » [Archived Version]

Django’s json_script template filter is a convenient and safe way to pass a larger amount of data to JavaScript. I covered it in my post last year How to Safely Pass Data to JavaScript in a Django Template. I found an interesting use case for json_script in my client …

Read More

RDS Blue/Green Deployments

July 1, 2023 » Anže’s Blog » [Archived Version]

Upgrading your database with Blue/Green deployments

Read More