django-planet

What's new in Django community blogs?

Django: launch pdb when a given SQL query runs

Dec. 5, 2024 » Adam Johnson » [Archived Version]

Here’s another technique for using pdb within Django. I will add this to the new debugging chapter of Boost Your Django DX in a future update. When debugging Django code, you might need to start with a given SQL query and work backwards to find the code that triggered …

Read More

2024 Year in Review

Dec. 4, 2024 » Carlton's latest posts. » [Archived Version]

Will kicked us off early, so time for a look back at the year. Nice and quiet, which is just what I said I wanted. Most of my time was focused on my work project Paths. We’re 18 months in and going well. The product is maturing nicely, we’re reaching towards what we imagined when we set out, and more, and we still have a wee bit of runway left. So all in all we’re pleased. This year will tell if we can pick up the extra clients we need to make it truly sustainable, so that’ll be the focus goi…

Read More

Django security releases issued: 5.1.4, 5.0.10, and 4.2.17

Dec. 4, 2024 » The Django weblog » [Archived Version]

In accordance with our security release policy, the Django team is issuing releases for Django 5.1.4, Django 5.0.10, and Django 4.2.17. These releases address the security issues detailed below. We encourage all users of Django to upgrade as soon as possible. CVE-2024-53907: Potential denial-of-service in django.utils.html.strip_tags() The strip_tags() method and striptags template filter are subject to a potential denial-of-service attack via certain inputs containing large sequences of neste…

Read More

Rebuilding django-prose-editor from the ground up

Dec. 4, 2024 » Matthias Kestenholz: Posts about Django » [Archived Version]

Rebuilding django-prose-editor from the ground up The django-prose-editor package provides a HTML editor based upon the ProseMirror toolkit for the Django administration interface and for the frontend. The package has been extracted from a customer project and open sourced so that it could be used in other projects as well. It followed a very restricted view of how rich text editors should work, which I have initially added to the FeinCMS repository when documenting the design decisions more th…

Read More

Help us make it happen ❤️

Dec. 4, 2024 » The Django weblog » [Archived Version]

And just like that, 2024 is almost over! If your finances allow, donate to the Django Software Foundation to support the long-term future of Django. 84% Of our US $200,000.00 goal for 2024, as of December 4th, 2024, we are at: 83.6% funded $167,272.85 donated Donate to support Django Oth…

Read More

Making Django Ready for the Next 20 Years

Dec. 4, 2024 » LevIT's blog - posts tagged with 'Django' » [Archived Version]

Emma Delescolle's candidacy statement for the Django Steering Council. Making Django ready for the next 20 years by: - lowering the barrier to contribution and involving a more diverse set of contributors - dealing with the realities of an aging code-base - building code ownership and groups specializing in specific areas of core - enacting feature requests from the steering council (django roadmap) - improving the third-party package story Read more in the article!

Read More

Quoting mypy

Dec. 3, 2024 » Carlton's latest posts. » [Archived Version]

Python is a highly dynamic language and has extensive metaprogramming capabilities. Many popular libraries use these to create APIs that may be more flexible and/or natural for humans, but are hard to express using static types. Extending the PEP 484 type system to accommodate all existing dynamic patterns is impractical and often just impossible. — From the mypy documentation.

Read More

Django News - 2024 Malcolm Tredinnick Memorial Prize awarded to Rachell Calhoun - Nov 29th 2024

Nov. 29, 2024 » Django News » [Archived Version]

News 2024 Malcolm Tredinnick Memorial Prize awarded to Rachell Calhoun This year's winner is Rachell Calhoun. Read more about her contributions to Django along with those of her follow nominees. djangoproject.com Django 6.x Steering Council Candidate Registration Registration is open for candidates until December 4, 2024. djangoproject.com 🏷️ Python Black Friday & Cyber Monday sales (2024) The seventh a…

Read More

Django: launch pdb in templates with a custom {% breakpoint %} tag

Nov. 28, 2024 » Adam Johnson » [Archived Version]

In my recent Boost Your Django DX update, I added a new chapter on debuggers. Here’s an extra technique I didn’t finish in time for the update, but I will include it in the next one. Django templates can be hard to debug, especially to figure out which …

Read More

Django 6.x Steering Council Candidate Registration

Nov. 27, 2024 » The Django weblog » [Archived Version]

Following our announcement of the 6.x Steering Council elections, today we open candidate registrations. Registrations will be open until December 4 2024 at 23:59 Anywhere on Earth. Register as a Steering Council candidate Eligibility Candidate eligibility requirements are defined in DEP 12: The Steering Council. To be qualified for elections, we require both of the following: A history of substantive contributions to Django or the Django ecosystem. This history must begin at least 18 months …

Read More