summaryrefslogtreecommitdiff
path: root/tests/decorators
AgeCommit message (Expand)Author
2026-03-09Fixed #36293 -- Avoided buffering streaming responses in GZipMiddleware.farhan
2026-01-31Refs #34118 -- Removed asgiref coroutine detection shims.Jacob Walls
2025-08-28Fixed #36532 -- Added Content Security Policy view decorators to override or ...Rob Hudson
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2024-08-30Fixed #35083 -- Updated method_decorator to handle async methods.Vaarun Sinha
2023-09-13Refs #31949 -- Made make_middleware_decorator to work with async functions.Ben Lomax
2023-09-13Added more tests for decorators.Ben Lomax
2023-07-10Refs #31949 -- Made @vary_on_(cookie/headers) decorators work with async func...Ben Lomax
2023-07-10Refs #31949 -- Made @csrf_exempt decorator to work with async functions.Ben Lomax
2023-06-26Refs #31949 -- Made http decorators to work with async functions.th3nn3ss
2023-06-26Added more tests for http decorators.th3nn3ss
2023-06-26Moved http decorator tests into decorators/test_http.py.Mariusz Felisiak
2023-05-23Refs #31949 -- Made @no_append_slash decorator to work with async functions.Ben Lomax
2023-05-20Refs #31949 -- Made @xframe_options_(deny/sameorigin/exempt) decorators to wo...Ben Lomax
2023-05-20Moved clickjacking decorator tests into decorators/test_clickjacking.py.Ben Lomax
2023-04-25Refs #31949 -- Made @never_cache and @cache_control() decorators to work with...Ben Lomax
2023-04-25Added more tests for @cache_control decorator.Ben Lomax
2023-04-04Moved cache decorators tests into decorators/test_cache.py.Ben Lomax
2022-05-25Normalized decorator style for functools.wraps.Aymeric Augustin
2022-05-25Renamed wrapped functions to wrapper.Aymeric Augustin
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-12-16Fixed #33350 -- Reallowed using cache decorators with duck-typed HttpRequest.Mariusz Felisiak
2021-12-13Refs #33338 -- Added never_cache() tests for Expires header.mgaligniana
2021-10-20Fixed #33043 -- Made method_decorator() preserve wrapper assignments.Vinay Karanam
2021-02-24Refs #32468 -- Added error message on invalid usage of cache decorators.Haki Benita
2020-09-14Fixed #31789 -- Added a new headers interface to HttpResponse.Tom Carrick
2020-02-18Refs #26601 -- Deprecated passing None as get_response arg to middleware clas...Claude Paroz
2019-06-26Fixed #30594 -- Added 'private' Cache-Control directive to never_cache() deco...nsasaki128
2018-06-27Refs #29253 -- Fixed method_decorator() crash if decorator sets a new attribute.Chris Jerdonek
2018-04-16Fixed #29253 -- Made method_decorator(list) copy attributes.Chris Jerdonek
2018-04-16Updated decorators test to use subTest().Chris Jerdonek
2017-02-03Fixed spelling of "nonexistent".Tim Graham
2017-01-21Refs #23919 -- Removed misc references to Python 2.Tim Graham
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-17Refs #20223 -- Removed deprecated django.utils.functional.allow_lazy().Tim Graham
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-06-16Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne
2016-06-07Fixed #10107 -- Allowed using mark_safe() as a decorator.Scott Vitale
2015-12-12Fixed #20223 -- Added keep_lazy() as a replacement for allow_lazy().Iacopo Spalletti
2015-10-26Fixed #25611 -- Standardized descriptor signatures.Tim Graham
2015-09-18Fixed #25269 -- Allowed method_decorator() to accept a list/tuple of decorators.fabrizio ettore messina
2015-08-01Fixed #25146 -- Allowed method_decorator() to decorate classes.Rigel Di Scala
2015-04-28Fixed #13008 -- Added more Cache-Control headers to never_cache() decorator.Markus Bertheau
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-01-17Removed django.utils.functional.memoize per deprecation timeline.Tim Graham
2014-11-29Fixed #23923 -- Promoted Django's deprecation warnings to errors in runtests.pyTim Graham
2014-02-09Fixed #21247 -- Made method_decorator play nicely with descriptorsMarc Tamlyn
2014-02-09Removed unused imports + other flake8 fixes.Tim Graham
2014-02-09Merge pull request #1997 from dpwrussell/method_decorator_args_fixMarc Tamlyn