RepoJournal
Django

@django

Python's batteries-included web framework

Keep up with Django in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

One email a day. Unsubscribe in one click.

Pick a date

Topics: Python Full archive →

The Wire · Showcase

DJANGO TIGHTENS REDIRECT LIMITS AND CRYPTO DEFAULTS

By RepoJournal · Filed · About Django

Django now lets you override hardcoded redirect URL length caps, while quietly deprecating SHA-1 as the default hash algorithm ahead of a breaking change in 7.0.

The headline story: HttpResponseRedirect and the redirect() shortcut now accept an optional max_length parameter [1], finally giving you control over URL length validation instead of hitting a wall. This ships with a sensible default but lets you disable the limit entirely for edge cases that demand it. Separately, Django is deprecating SHA-1 as the default algorithm for salted_hmac() and base64_hmac() [2]—the shift to SHA-256 lands in 7.0, so any custom crypto code relying on implicit SHA-1 needs attention now. On the accessibility front, AdminDate Widget buttons now carry proper Aria labels [3], closing a long-standing a11y gap that affects screen reader users. The ecosystem page also corrected a routing error: django-impersonate was pointing to an unmaintained fork; the original repository is now the official link [4]. Documentation cleanup continued with outdated iterator() notes removed .

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Fixed #36767 -- Allowed max redirect URL length to be set on HttpResponseRedirect. ↗ django/django
  2. [2] Fixed #37078 -- Deprecated SHA-1 default for salted_hmac() and base64_hmac() algorithm. django/django
  3. [3] Fixed #36459 -- Added Aria labels to the buttons inside the AdminDate Widget. ↗ django/django
  4. [4] Link maintained version of django-impersonate django/djangoproject.com

Quick answers

What shipped in Django on May 5, 2026?
Django now lets you override hardcoded redirect URL length caps, while quietly deprecating SHA-1 as the default hash algorithm ahead of a breaking change in 7.0. In total, 10 commits and 9 pull requests landed.
Who contributed to Django on May 5, 2026?
2 developers shipped this update, including varunkasyap and Skyiesac.
What were the notable Django updates?
Fixed #36767 -- Allowed max redirect URL length to be set on HttpResponseRedirect, Fixed #37078 -- Deprecated SHA-1 default for salted_hmac() and base64_hmac() algorithm, and Fixed #36459 -- Added Aria labels to the buttons inside the AdminDate Widget.

More from @django

Daily updates, in your inbox

Follow Django

Keep up with Django in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?