126 wires and counting

$ follow Django

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

or

fair warning: these emails are deeply technical. diffs, version numbers, CVEs, benchmark deltas. if that's not your idea of a good read, this isn't your newsletter.

Folds into your digest — weekly by default, monthly if you prefer. Unsubscribe in one click.

$ status

wire 2026-05-07
stories 23

© 2026 RepoJournal Home Showcase Explore How it works Privacy

$ the-wire · showcase

DJANGO SHIPS CSP NONCE TAG AND FIXES ASGI AUTHENTICATION REGRESSION

By RepoJournal · Filed · About Django · Composed from the cited sources · methodology

Django merged three security and authentication fixes overnight that close gaps in ASGI middleware behavior and add a critical content security policy helper.

The headliner is a new `{% csp_nonce_attr %}` template tag [1] that handles CSP nonce injection explicitly — a cleaner pattern than the old workarounds for securing inline scripts and stylesheets. This ships alongside two authentication fixes that matter more than they first appear: Django 5.2 introduced a regression where RemoteUserMiddleware behaved differently under ASGI than WSGI [2] [3], forcing proxy operators to rewrite headers in incompatible ways. That's fixed now. The team also clarified the security posture of RemoteUserMiddleware itself , tightening documentation around header spoofing risks. A fourth commit [4] stages test infrastructure for incoming email provider integrations, suggesting a larger feature is landing in the next cycle. All four are cherry-picks or targeted fixes — no breaking changes, all backport candidates.

Action items

References

  1. [1] Fixed #36784 -- Added csp_nonce_attr template tag for CSP nonce inclusion. ↗ django/django
  2. [2] Fixed #36300 -- Restored the semantic where RemoteUserMiddleware.header corresponds to request.META under ASGI. ↗ django/django
  3. [3] Fixed #36300 -- Restored the semantic where RemoteUserMiddleware.header corresponds to request.META under ASGI. ↗ django/django
  4. [4] Refs #35514 -- Prepared for email providers. ↗ django/django

Quick answers

What shipped in Django on May 7, 2026?
Django merged three security and authentication fixes overnight that close gaps in ASGI middleware behavior and add a critical content security policy helper. In total, 16 commits and 7 pull requests landed.
Who contributed to Django on May 7, 2026?
3 developers shipped this update, including nessita, jacobtylerwalls, and medmunds.
What were the notable Django updates?
Fixed #36784 -- Added csp_nonce_attr template tag for CSP nonce inclusion, Fixed #36300 -- Restored the semantic where RemoteUserMiddleware.header corresponds to request.META under ASGI, and Fixed #36300 -- Restored the semantic where RemoteUserMiddleware.header corresponds to request.META under ASGI.