| Age | Commit message (Collapse) | Author |
|
middlewares.
It's the wrapped handler that's adapted to the wrapping middleware.
|
|
|
|
|
|
|
|
|
|
marking as unused in an async context.
Thanks Hubert Bielenia for the report.
|
|
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
|
|
This implements support for asynchronous views, asynchronous tests,
asynchronous middleware, and an asynchronous test client.
|
|
This test didn't test anything without a middleware that raises an
exception.
|
|
|
|
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>
|
|
|
|
Unused since d334f46b7a080fd3eb720141c19b37b10704a352.
|
|
|
|
Thanks Tim Graham for the review.
|
|
|
|
|
|
|
|
settings.MIDDLEWARE_CLASSES.
|
|
|
|
middleware.
|
|
exception handling.
|
|
|
|
|
|
|
|
Thanks Tim Graham for polishing the patch, updating the tests, and
writing documentation. Thanks Carl Meyer for shepherding the DEP.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Thanks guettli for the report.
|
|
|
|
Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
|
|
Thanks brycenesbitt for the report.
|
|
|
|
Added comments in the three empty models.py files that are still needed.
Adjusted the test runner to add applications corresponding to test
labels to INSTALLED_APPS even when they don't have a models module.
|
|
|
|
Signed-off-by: Jason Myers <jason@jasonamyers.com>
|
|
|
|
|
|
|
|
|
|
|
|
Should be unneeded with Python 2.7 and up.
Added some unicode_literals along the way.
|
|
|
|
|