| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-02-01 | Refs #33476 -- Applied Black's 2023 stable style. | David Smith | |
| Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0 | |||
| 2022-02-09 | Fixed #33495 -- Improved debug logging message about adapting handlers for ↵ | Aaron Chong | |
| middlewares. It's the wrapped handler that's adapted to the wrapping middleware. | |||
| 2022-02-07 | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2021-03-02 | Refs #21429 -- Added SimpleTestCase.assertNoLogs() on Python < 3.10. | François Freitag | |
| 2020-12-29 | Fixed #32299 -- Prevented mutating handlers when processing middlewares ↵ | Mariusz Felisiak | |
| marking as unused in an async context. Thanks Hubert Bielenia for the report. | |||
| 2020-03-31 | Refs #31040 -- Used 402 HTTP status in middleware_exceptions tests. | Mariusz Felisiak | |
| HTTP status code 418 - "I'm a Teaport" was added to http.HTTPStatus in Python 3.9.0a5 [1] that caused failures in middleware_exceptions tests. This changes HTTP status used in middleware_exceptions tests to 402, which exists in all supported versions of Python. [1] https://docs.python.org/3.9/whatsnew/3.9.html#http | |||
| 2020-03-18 | Fixed #31224 -- Added support for asynchronous views and middleware. | Andrew Godwin | |
| This implements support for asynchronous views, asynchronous tests, asynchronous middleware, and an asynchronous test client. | |||
| 2020-03-12 | Fixed MiddlewareNotUsedTests.test_do_not_log_when_debug_is_false(). | Mariusz Felisiak | |
| This test didn't test anything without a middleware that raises an exception. | |||
| 2020-03-12 | Completed test coverage for BaseHandler.process_exception_by_middleware(). | Mariusz Felisiak | |
| 2020-02-18 | Refs #26601 -- Deprecated passing None as get_response arg to middleware ↵ | Claude Paroz | |
| classes. This is the new contract since middleware refactoring in Django 1.10. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2018-11-20 | Tested a middleware's process_template_response() returning None. | Tim Graham | |
| 2018-05-07 | Replaced django.test.utils.patch_logger() with assertLogs(). | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-19 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | |
| 2016-07-25 | Fixed #26915 -- Fixed regression handling responses returned from view ↵ | Alex Hill | |
| middleware. | |||
| 2016-06-17 | Refs #26601 -- Improved backwards-compatibility of DEP 5 middleware ↵ | Carl Meyer | |
| exception handling. | |||
| 2016-06-17 | Moved old-middleware tests in preparation for adding new tests. | Carl Meyer | |
| 2016-06-17 | Improved debugging of failed middleware_exceptions tests. | Carl Meyer | |
| 2016-05-17 | Refs #26601 -- Deprecated old-style middleware. | Tim Graham | |
| 2016-05-17 | Fixed #26601 -- Improved middleware per DEP 0005. | Florian Apolloner | |
| Thanks Tim Graham for polishing the patch, updating the tests, and writing documentation. Thanks Carl Meyer for shepherding the DEP. | |||
| 2016-01-29 | Refs #26022 -- Used context manager version of assertRaises in tests. | Hasan | |
| 2015-09-12 | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | |
| 2015-07-03 | Fixed #24877 -- Added middleware handling of response.render() errors. | Sylvain Fankhauser | |
| 2015-05-20 | Refs #24652 -- Used SimpleTestCase where appropriate. | Simon Charette | |
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-02-03 | Fixed #24149 -- Normalized tuple settings to lists. | darkryder | |
| 2015-01-12 | Accounted for multiple template engines in template responses. | Aymeric Augustin | |
| 2014-11-27 | Fixed #14664 -- Logged a warning if MiddlewareNotUsed is raised in DEBUG mode. | Berker Peksag | |
| 2014-06-07 | Fixed #6992 -- Improved error when middleware omits HttpResponse. | Aymeric Augustin | |
| Thanks guettli for the report. | |||
| 2014-04-06 | Fixed #21977 -- Deprecated SimpleTestCase.urls | Anubhav Joshi | |
| 2014-02-15 | Fixed #21912 -- Improved error message if a view returns None. | Aaron France | |
| Thanks brycenesbitt for the report. | |||
| 2013-12-23 | Imported override_settings from its new location. | Aymeric Augustin | |
| 2013-12-10 | Fixed E124 pep8 warnings. | Loic Bistuer | |
| 2013-11-02 | PEP8 cleanup | Jason Myers | |
| Signed-off-by: Jason Myers <jason@jasonamyers.com> | |||
| 2013-11-02 | Fixed flake8 E241 | Boryslav Larin | |
| 2013-10-21 | Removed some direct settings manipulations in tests; refs #21230. | Bouke Haarsma | |
| 2013-10-21 | Fixed #21288 -- Fixed E126 pep8 warnings | Alasdair Nicol | |
| 2013-10-19 | Removed unused local variables in tests. | Tim Graham | |
| 2013-10-18 | Fixed #21287 -- Fixed E123 pep8 warnings | Alasdair Nicol | |
| 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 | |
