Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #32800 -- Removed CSRF_COOKIE_MASKED transitional setting per ↵ | Mariusz Felisiak | 2023-01-17 | 1 | -30/+0 |
| | | | | deprecation timeline. | ||||
* | Refs #32873 -- Removed settings.USE_L10N per deprecation timeline. | Mariusz Felisiak | 2023-01-17 | 1 | -43/+0 |
| | |||||
* | Refs #26029 -- Deprecated DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings. | Jarosław Wygoda | 2023-01-12 | 1 | -0/+165 |
| | |||||
* | Refs #34118 -- Adopted asgiref coroutine detection shims. | Carlton Gibson | 2022-12-20 | 1 | -4/+3 |
| | | | Thanks to Mariusz Felisiak for review. | ||||
* | Fixed #33518 -- Added RemovedAfterNextVersionWarning. | saeedblanchette | 2022-02-21 | 1 | -0/+6 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 4 | -42/+54 |
| | |||||
* | Fixed #32800 -- Changed CsrfViewMiddleware not to mask the CSRF secret. | Chris Jerdonek | 2021-11-29 | 1 | -0/+30 |
| | | | | | | | | | This also adds CSRF_COOKIE_MASKED transitional setting helpful in migrating multiple instance of the same project to Django 4.1+. Thanks Florian Apolloner and Shai Berger for reviews. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Fixed #32873 -- Deprecated settings.USE_L10N. | Claude Paroz | 2021-09-14 | 1 | -0/+43 |
| | | | | Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Refs #24121 -- Added __repr__() to MiddlewareMixin and subclasses. | Jonny Park | 2021-03-10 | 1 | -0/+27 |
| | |||||
* | Refs #31842 -- Removed DEFAULT_HASHING_ALGORITHM transitional setting. | Mariusz Felisiak | 2021-01-14 | 1 | -55/+0 |
| | | | | Per deprecation timeline. | ||||
* | Refs #26601 -- Made get_response argument required and don't accept None in ↵ | Mariusz Felisiak | 2021-01-14 | 1 | -12/+3 |
| | | | | | | middleware classes. Per deprecation timeline. | ||||
* | Refs #31928 -- Added various middlewares tests for detecting when ↵ | Kevin Michel | 2020-08-28 | 1 | -6/+1 |
| | | | | get_response is coroutine. | ||||
* | Fixed #31928 -- Fixed detecting an async get_response in various middlewares. | Kevin Michel | 2020-08-28 | 1 | -0/+24 |
| | | | | | | | | | | | SecurityMiddleware and the three cache middlewares were not calling super().__init__() during their initialization or calling the required MiddlewareMixin._async_check() method. This made the middlewares not properly present as coroutine and confused the middleware chain when used in a fully async context. Thanks Kordian Kowalski for the report. | ||||
* | Refs #26601 -- Added various middlewares tests for deprecation of passing ↵ | Kevin Michel | 2020-08-28 | 1 | -19/+43 |
| | | | | None as get_response. | ||||
* | Fixed #31905 -- Made MiddlewareMixin call ↵ | Michael Galler | 2020-08-26 | 1 | -1/+42 |
| | | | | | | process_request()/process_response() with thread sensitive. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> | ||||
* | Fixed #31842 -- Added DEFAULT_HASHING_ALGORITHM transitional setting. | Mariusz Felisiak | 2020-08-04 | 1 | -0/+55 |
| | | | | | | | | | It's a transitional setting helpful in migrating multiple instance of the same project to Django 3.1+. Thanks Markus Holtermann for the report and review, Florian Apolloner for the implementation idea and review, and Carlton Gibson for the review. | ||||
* | Refs #26601 -- Deprecated passing None as get_response arg to middleware ↵ | Claude Paroz | 2020-02-18 | 1 | -0/+39 |
| | | | | | | | | | 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> | ||||
* | Silenced warnings in deprecation tests. | Jon Dufresne | 2018-07-11 | 1 | -11/+19 |
| | |||||
* | Fixed #29363 -- Added SimpleTestCase.assertWarnsMessage(). | Morgan Aubert | 2018-05-09 | 1 | -87/+66 |
| | |||||
* | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | 2017-01-25 | 1 | -4/+4 |
| | |||||
* | Refs #23919 -- Removed reset_warning_registry() workaround for Python < 3.4.2. | Tim Graham | 2017-01-19 | 1 | -2/+0 |
| | |||||
* | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | 2017-01-19 | 1 | -2/+2 |
| | |||||
* | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | 2017-01-18 | 1 | -8/+7 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 1 | -2/+0 |
| | |||||
* | Fixed E128 flake8 warnings in tests/. | Tim Graham | 2016-04-08 | 1 | -12/+6 |
| | |||||
* | Fixed #25466 -- Added backwards compatibility aliases for LoaderOrigin and ↵ | Tim Graham | 2015-09-29 | 1 | -1/+16 |
| | | | | | | StringOrigin. Thanks Simon Charette for the DeprecationInstanceCheck class. | ||||
* | Refs #21977 -- Removed SimpleTestCase.urls per deprecation timeline. | Tim Graham | 2015-09-23 | 1 | -27/+0 |
| | |||||
* | Renamed RemovedInDjangoXYWarnings for new roadmap. | Tim Graham | 2015-06-24 | 1 | -1/+1 |
| | | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more. | ||||
* | Removed deprecated Chinese language codes; refs #18149. | Tim Graham | 2015-01-17 | 1 | -20/+2 |
| | |||||
* | Removed request.REQUEST per deprecation timeline; refs #18659. | Tim Graham | 2015-01-17 | 1 | -21/+1 |
| | |||||
* | Removed django.utils.functional.memoize per deprecation timeline. | Tim Graham | 2015-01-17 | 1 | -15/+0 |
| | | | | refs #21351. | ||||
* | Applied ignore_warnings to Django tests | Claude Paroz | 2014-12-30 | 1 | -0/+1 |
| | |||||
* | Refs #23947 -- Worked around a bug in Python that prevents deprecation ↵ | Diego Guimarães | 2014-12-06 | 1 | -0/+2 |
| | | | | warnings from appearing in tests. | ||||
* | Fixed #23923 -- Promoted Django's deprecation warnings to errors in runtests.py | Tim Graham | 2014-11-29 | 1 | -0/+1 |
| | |||||
* | Fixed #21977 -- Deprecated SimpleTestCase.urls | Anubhav Joshi | 2014-04-06 | 1 | -0/+26 |
| | |||||
* | Avoided leaking warning filters. | Aymeric Augustin | 2014-03-09 | 1 | -4/+2 |
| | |||||
* | Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warnings | Claude Paroz | 2014-03-08 | 1 | -0/+1 |
| | | | | | Thanks Anssi Kääriäinen for the idea and Simon Charette for the review. | ||||
* | Removed superfluous models.py files. | Aymeric Augustin | 2013-12-17 | 1 | -0/+0 |
| | | | | | | | 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. | ||||
* | Fixed #21351 -- Replaced memoize with Python's lru_cache. | Bouke Haarsma | 2013-11-11 | 1 | -0/+16 |
| | | | | | | | | | | Replaced the custom, untested memoize with a similar decorator from Python's 3.2 stdlib. Although some minor performance degradation (see ticket), it is expected that in the long run lru_cache will outperform memoize once it is implemented in C. Thanks to EvilDMP for the report and Baptiste Mispelon for the idea of replacing memoize with lru_cache. | ||||
* | Fixed #18149 -- Changed language codes for Chinese | Bouke Haarsma | 2013-11-04 | 1 | -2/+21 |
| | | | | | | | Language codes for Chinese are zh_Hans (Simplified) and zh_Hant (Traditional). Added support for browsers that still send the deprecated language codes. Thanks to Olli Wang for the report. | ||||
* | Fixed #21302 -- Fixed unused imports and import *. | Tim Graham | 2013-11-02 | 1 | -1/+0 |
| | |||||
* | Fixed #21298 -- Fixed E301 pep8 warnings | Alasdair Nicol | 2013-10-23 | 1 | -0/+11 |
| | |||||
* | Removed unused local variables in tests. | Tim Graham | 2013-10-19 | 1 | -1/+1 |
| | |||||
* | Fixed #18659 -- Deprecated request.REQUEST and MergeDict | Bouke Haarsma | 2013-10-17 | 1 | -1/+21 |
| | | | | Thanks Aymeric Augustin for the suggestion. | ||||
* | Import test case classes from their public API module. | Ramiro Morales | 2013-08-20 | 1 | -1/+1 |
| | |||||
* | Advanced deprecation warnings for Django 1.7. | Aymeric Augustin | 2013-06-29 | 1 | -1/+1 |
| | |||||
* | Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that ↵ | Loic Bistuer | 2013-03-08 | 3 | -0/+158 |
return a QuerySet. |