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 MoreJuly 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 MoreJuly 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 MoreJuly 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 MoreJuly 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 MoreJuly 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 MoreJuly 1, 2023 » Anže’s Blog » [Archived Version]
Upgrading your database with Blue/Green deployments
Read MoreJune 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 MoreJune 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 MoreJune 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