<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/django/template/context_processors.py, branch main</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=main</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2025-07-23T23:17:55Z</updated>
<entry>
<title>Refs #36500 -- Rewrapped long docstrings and block comments via a script.</title>
<updated>2025-07-23T23:17:55Z</updated>
<author>
<name>django-bot</name>
<email>ops@djangoproject.com</email>
</author>
<published>2025-07-23T03:41:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=69a93a88edb56ba47f624dac7a21aacc47ea474f'/>
<id>urn:sha1:69a93a88edb56ba47f624dac7a21aacc47ea474f</id>
<content type='text'>
Rewrapped long docstrings and block comments to 79 characters + newline
using script from https://github.com/medmunds/autofix-w505.
</content>
</entry>
<entry>
<title>Fixed #15727 -- Added Content Security Policy (CSP) support.</title>
<updated>2025-06-27T18:57:02Z</updated>
<author>
<name>Rob Hudson</name>
<email>rob@cogit8.org</email>
</author>
<published>2025-05-03T17:01:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=d63241ebc7067fdebbaf704989b34fcd8f26bbe9'/>
<id>urn:sha1:d63241ebc7067fdebbaf704989b34fcd8f26bbe9</id>
<content type='text'>
This initial work adds a pair of settings to configure specific CSP
directives for enforcing or reporting policy violations, a new
`django.middleware.csp.ContentSecurityPolicyMiddleware` to apply the
appropriate headers to responses, and a context processor to support CSP
nonces in templates for safely inlining assets.

Relevant documentation has been added for the 6.0 release notes,
security overview, a new how-to page, and a dedicated reference section.

Thanks to the multiple reviewers for their precise and valuable feedback.

Co-authored-by: Natalia &lt;124304+nessita@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Refs #33476 -- Reformatted code with Black.</title>
<updated>2022-02-07T19:37:05Z</updated>
<author>
<name>django-bot</name>
<email>ops@djangoproject.com</email>
</author>
<published>2022-02-03T19:24:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=9c19aff7c7561e3a82978a272ecdaad40dda5c00'/>
<id>urn:sha1:9c19aff7c7561e3a82978a272ecdaad40dda5c00</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bumped minimum isort version to 5.1.0.</title>
<updated>2020-07-30T08:58:59Z</updated>
<author>
<name>David Smith</name>
<email>smithdc@gmail.com</email>
</author>
<published>2020-07-24T06:25:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=e74b3d724e5ddfef96d1d66bd1c58e7aae26fc85'/>
<id>urn:sha1:e74b3d724e5ddfef96d1d66bd1c58e7aae26fc85</id>
<content type='text'>
Fixed inner imports per isort 5.
isort 5.0.0 to 5.1.0 was unstable.
</content>
</entry>
<entry>
<title>Replaced temporary lists used for passing arguments with iterables.</title>
<updated>2017-04-26T14:54:20Z</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2017-04-26T04:04:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=92bc7272711536bb36c2190fcd3476de04e713ee'/>
<id>urn:sha1:92bc7272711536bb36c2190fcd3476de04e713ee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #27656 -- Updated django.template/tag docstring verbs according to PEP 257.</title>
<updated>2017-02-17T16:29:38Z</updated>
<author>
<name>Anton Samarchyan</name>
<email>anton.samarchyan@savoirfairelinux.com</email>
</author>
<published>2017-01-24T20:36:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=4696078832f486ba63f0783a0795294b3d80d862'/>
<id>urn:sha1:4696078832f486ba63f0783a0795294b3d80d862</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #23919 -- Assumed request COOKIES and META are str</title>
<updated>2017-01-30T13:13:29Z</updated>
<author>
<name>Claude Paroz</name>
<email>claude@2xlibre.net</email>
</author>
<published>2017-01-29T13:58:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=c688336ebcc1bddc65f2d48e15b981b6caa7ef1a'/>
<id>urn:sha1:c688336ebcc1bddc65f2d48e15b981b6caa7ef1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #23919 -- Removed encoding preambles and future imports</title>
<updated>2017-01-18T08:55:19Z</updated>
<author>
<name>Claude Paroz</name>
<email>claude@2xlibre.net</email>
</author>
<published>2016-11-19T17:19:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=d7b9aaa366dd54ecc3142c588162e3adc7c2f7ac'/>
<id>urn:sha1:d7b9aaa366dd54ecc3142c588162e3adc7c2f7ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replaced smart_* by force_* calls whenever possible</title>
<updated>2016-09-03T11:46:41Z</updated>
<author>
<name>Claude Paroz</name>
<email>claude@2xlibre.net</email>
</author>
<published>2016-09-02T18:17:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=2ced2f785d5aca0354abf5841d5449b7a49509dc'/>
<id>urn:sha1:2ced2f785d5aca0354abf5841d5449b7a49509dc</id>
<content type='text'>
The smart_* version should only be used when a lazy string should keep
its lazy status.
</content>
</entry>
<entry>
<title>Fixed #26145 -- Made debug context processor return queries for all databases.</title>
<updated>2016-04-09T15:47:15Z</updated>
<author>
<name>Mounir Messelmeni</name>
<email>messelmeni.mounir@gmail.com</email>
</author>
<published>2016-04-09T12:09:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=03e1cc930c6a5fbe993fb120e4403f3dd8a7c211'/>
<id>urn:sha1:03e1cc930c6a5fbe993fb120e4403f3dd8a7c211</id>
<content type='text'>
</content>
</entry>
</feed>
