django-planet

What's new in Django community blogs?

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 d…

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

Django News - Wagtail Roadmap - Jun 30th 2023

June 30, 2023 » Django News » [Archived Version]

News Introducing the Wagtail Roadmap Curious what's next for Wagtail? There's a roadmap for that. wagtail.org Deprecation of bdist_egg uploads to PyPI PyPI will stop accepting .egg uploads starting August 1, 2023. If you maintain and packages on PyPI, you'll want to know this. pypi.org Updates to Django Updates to Django From Django Review and Triage Team Member Sarah Boyce... Last week we had 10 pul…

Read More

Accounts and Email - Building SaaS with Python and Django #164

June 29, 2023 » Django on Matt Layman » [Archived Version]

In this episode, I planned to do the work of sending email prompts for the journal to users. Along the path, we realized that the Account model was missing, so I stopped to build that out before we could proceed. By the end of the stream, we had a working background job that would send email and was 100% unit tested.

Read More

Accounts and Email - Building SaaS #164

June 29, 2023 » Django on Matt Layman » [Archived Version]

In this episode, I planned to do the work of sending email prompts for the journal to users. Along the path, we realized that the Account model was missing, so I stopped to build that out before we could proceed. By the end of the stream, we had a working background job that would send email and was 100% unit tested.

Read More