<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/tests/context_processors, 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-06-27T18:57:02Z</updated>
<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>Applied Black's 2024 stable style.</title>
<updated>2024-01-26T11:45:07Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2024-01-26T11:45:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=305757aec19c9d5111e4d76095ae0acd66163e4b'/>
<id>urn:sha1:305757aec19c9d5111e4d76095ae0acd66163e4b</id>
<content type='text'>
https://github.com/psf/black/releases/tag/24.1.0</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>Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in favor of databases.</title>
<updated>2019-01-11T00:11:21Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2018-07-12T04:12:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=8c775391b78b2a4a2b57c5e89ed4888f36aada4b'/>
<id>urn:sha1:8c775391b78b2a4a2b57c5e89ed4888f36aada4b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Updated test URL patterns to use path() and re_path().</title>
<updated>2018-12-31T15:47:32Z</updated>
<author>
<name>Tim Graham</name>
<email>timograham@gmail.com</email>
</author>
<published>2018-12-07T22:52:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=043bd709425149b8eff3fb821cba5c23aaebd0df'/>
<id>urn:sha1:043bd709425149b8eff3fb821cba5c23aaebd0df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added multi_db=True to test cases that access the 'other' db connection.</title>
<updated>2017-02-10T13:19:32Z</updated>
<author>
<name>Tim Graham</name>
<email>timograham@gmail.com</email>
</author>
<published>2017-02-10T13:19:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=ab83d4d8fe76c2c6bc3b0a96aa2baed9c9f07f19'/>
<id>urn:sha1:ab83d4d8fe76c2c6bc3b0a96aa2baed9c9f07f19</id>
<content type='text'>
Fixed a failure in the context processors tests when running in
reverse on MySQL due to an extra query after refs #27683.</content>
</entry>
<entry>
<title>Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.</title>
<updated>2016-11-11T02:30:21Z</updated>
<author>
<name>za</name>
<email>za@python.or.id</email>
</author>
<published>2016-10-27T07:53:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=321e94fa41b121f65c02119c02098df327bbd569'/>
<id>urn:sha1:321e94fa41b121f65c02119c02098df327bbd569</id>
<content type='text'>
</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>
<entry>
<title>Refs #24652 -- Used SimpleTestCase where appropriate.</title>
<updated>2015-05-20T17:46:13Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2015-04-17T21:38:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=be67400b477c1b0e7e81766f41bbceed0de74bdc'/>
<id>urn:sha1:be67400b477c1b0e7e81766f41bbceed0de74bdc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Sorted imports with isort; refs #23860.</title>
<updated>2015-02-06T13:16:28Z</updated>
<author>
<name>Tim Graham</name>
<email>timograham@gmail.com</email>
</author>
<published>2015-01-28T12:35:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=0ed7d155635da9f79d4dd67e4889087d3673c6da'/>
<id>urn:sha1:0ed7d155635da9f79d4dd67e4889087d3673c6da</id>
<content type='text'>
</content>
</entry>
</feed>
