What's new in Django community blogs?

New Django {% querystring %} template tag

Aug. 13, 2024 » Simon Willison's Weblog: django » [Archived Version]

New Django {% querystring %} template tag Django 5.1 came out last week and includes a neat new template tag which solves a problem I've faced a bunch of times in the past. {% querystring color="red" size="S" %} Adds ?color=red&size=S to the current URL - keeping any other existing parameters and replacing the current value for color or size if it's already set. {% querystring color=None %} Removes the ?color= parameter if it is currently set. If the value passed is a list it will append ?col…

Read More

Django News - ✨ Django 5.1 is out! - Aug 9th 2024

Aug. 9, 2024 » Django News » [Archived Version]

News Django 5.1 released Django 5.1 was released, featuring the new LoginRequiredMiddleware for easier authentication and several accessibility enhancements, including improved screen reader support and more semantic HTML elements. There is also a querystring template tag simplifies query string handling in templates. djangoproject.com Django security releases issued: 5.0.8 and 4.2.15 The Django team has issued security releases 5.0.8 and …

Read More

django-http-debug, a new Django app mostly written by Claude

Aug. 8, 2024 » Simon Willison's Weblog: django » [Archived Version]

Yesterday I finally developed something I’ve been casually thinking about building for a long time: django-http-debug. It’s a reusable Django app - something you can pip install into any Django project - which provides tools for quickly setting up a URL that returns a canned HTTP response and logs the full details of any incoming request to a database table. This is ideal for any time you want to start developing against some external API that sends traffic to your own site - a webhooks provide…

Read More

Django 5.1 released

Aug. 7, 2024 » The Django weblog » [Archived Version]

The Django team is happy to announce the release of Django 5.1. The release notes showcase a kaleidoscope of improvements. A few highlights are: Easier guardrails for authentication: the new and shiny LoginRequiredMiddleware, when added to MIDDLEWARE, enforces authentication for all views by default. A more inclusive framework: Django 5.1 includes several accessibility enhancements, such as improved screen reader support in the admin interface, more semantic HTML elements, and better associati…

Read More

Django security releases issued: 5.0.8 and 4.2.15

Aug. 6, 2024 » The Django weblog » [Archived Version]

In accordance with our security release policy, the Django team is issuing releases for Django 5.0.8 and Django 4.2.15. These releases address the security issues detailed below. We encourage all users of Django to upgrade as soon as possible. CVE-2024-41989: Memory exhaustion in django.utils.numberformat.floatformat() The floatformat template filter is subject to significant memory consumption when given a string representation of a number in scientific notation with a large exponent. Thanks …

Read More

Django News - Wagtail 6.2 Released / Python 3.13.0rc1 - Aug 2nd 2024

Aug. 2, 2024 » Django News » [Archived Version]

News Python Insider: Python 3.13.0 release candidate 1 released This is the first release candidate of Python 3.13.0. blogspot.com setuptools 72.0.0 removes the test command If you used setup.py test to test your Python packages, you will need to migrate to another test runner. After five years of deprecation warnings, the test command has finally been removed. pypa.io django-allauth 64.0.0 released A numbe…

Read More

Packages do not match the hashes pip error

Aug. 2, 2024 » Anže’s Blog » [Archived Version]

pip sometimes returns a checksum error when the urllib3 library is unable to parse a received TLS packet due to a network error. This pip issue will be resolved in 2025 when Python 3.9 is EOL, but you can get around it today by using wget or curl.

Read More

Weeknotes (2024 week 31)

July 31, 2024 » Matthias Kestenholz: Posts about Django » [Archived Version]

Weeknotes (2024 week 31) I have missed almost two months of weeknotes. I’ve got some catching up to do. I have tried writing a larger piece on my thoughts about CMS, but with everything going on in my personal and work life I haven’t made much progress. This weeknotes entry is me trying to get back into the groove of writing (and publishing!) regularly. django-prose-editor I have previously written about the ProseMirror-based editor for Django websites here. I have continued working on the proj…

Read More

PyOhio 2024 Slides & Resources

July 27, 2024 » james.walters.click » [Archived Version]

Man, I love PyOhio! Last year was my first one, and I was so thrilled to hear that this year's event was going to be in person for the first time since COVID. I absolutely wanted to be a part of it, and I'm so glad I got to be …

Read More

Django 5.1 release candidate 1 released

July 24, 2024 » The Django weblog » [Archived Version]

Django 5.1 release candidate 1 is the final opportunity for you to try out a kaleidoscope of improvements before Django 5.1 is released. The release candidate stage marks the string freeze and the call for translators to submit translations. Provided no major bugs are discovered that can't be solved in the next two weeks, Django 5.1 will be released on or around August 7. Any delays will be communicated on the on the Django forum. Please use this opportunity to help find and fix bugs (which sh…

Read More