| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-06-27 | Fixed #15727 -- Added Content Security Policy (CSP) support. | Rob Hudson | |
| 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 <124304+nessita@users.noreply.github.com> | |||
| 2024-01-26 | Applied Black's 2024 stable style. | Mariusz Felisiak | |
| https://github.com/psf/black/releases/tag/24.1.0 | |||
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2019-01-10 | Refs #28478 -- Deprecated TestCase's allow_database_queries and multi_db in ↵ | Simon Charette | |
| favor of databases. | |||
| 2017-02-10 | Added multi_db=True to test cases that access the 'other' db connection. | Tim Graham | |
| Fixed a failure in the context processors tests when running in reverse on MySQL due to an extra query after refs #27683. | |||
| 2016-11-10 | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | |
| 2016-04-09 | Fixed #26145 -- Made debug context processor return queries for all databases. | Mounir Messelmeni | |
| 2015-05-20 | Refs #24652 -- Used SimpleTestCase where appropriate. | Simon Charette | |
| 2015-02-03 | Fixed #24149 -- Normalized tuple settings to lists. | darkryder | |
| 2014-12-28 | Deprecated TEMPLATE_CONTEXT_PROCESSORS. | Aymeric Augustin | |
| 2014-12-28 | Deprecated some arguments of django.shortcuts.render(_to_response). | Aymeric Augustin | |
| dictionary and context_instance and superseded by context. Refactored tests that relied context_instance with more modern idioms. | |||
| 2014-12-28 | Moved context_processors from django.core to django.template. | Aymeric Augustin | |
| 2014-08-30 | Converted sql_queries into a lazily evaluated list. | Bas Peschier | |
| Fixed #23364. Thanks Markush2010 for the report. | |||
| 2014-04-06 | Fixed #21977 -- Deprecated SimpleTestCase.urls | Anubhav Joshi | |
| 2013-10-10 | Whitespace cleanup. | Tim Graham | |
| * Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs. | |||
| 2013-02-26 | Renamed some tests and removed references to modeltests/regressiontests. | Florian Apolloner | |
| 2013-02-26 | Merged regressiontests and modeltests into the test root. | Florian Apolloner | |
