mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
195e0cb170
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 |
||
---|---|---|
.. | ||
__init__.py | ||
middleware.py | ||
tests.py | ||
urls.py | ||
views.py |