summaryrefslogtreecommitdiff
path: root/tests/decorators
Commit message (Expand)AuthorAgeFilesLines
* Refs #31949 -- Made @never_cache and @cache_control() decorators to work with...Ben Lomax2023-04-251-0/+103
* Added more tests for @cache_control decorator.Ben Lomax2023-04-251-0/+19
* Moved cache decorators tests into decorators/test_cache.py.Ben Lomax2023-04-042-101/+109
* Normalized decorator style for functools.wraps.Aymeric Augustin2022-05-251-1/+2
* Renamed wrapped functions to wrapper.Aymeric Augustin2022-05-251-2/+2
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-63/+93
* Fixed #33350 -- Reallowed using cache decorators with duck-typed HttpRequest.Mariusz Felisiak2021-12-161-2/+39
* Refs #33338 -- Added never_cache() tests for Expires header.mgaligniana2021-12-131-5/+21
* Fixed #33043 -- Made method_decorator() preserve wrapper assignments.Vinay Karanam2021-10-201-0/+23
* Refs #32468 -- Added error message on invalid usage of cache decorators.Haki Benita2021-02-241-1/+28
* Fixed #31789 -- Added a new headers interface to HttpResponse.Tom Carrick2020-09-141-3/+3
* Refs #26601 -- Deprecated passing None as get_response arg to middleware clas...Claude Paroz2020-02-181-1/+1
* Fixed #30594 -- Added 'private' Cache-Control directive to never_cache() deco...nsasaki1282019-06-261-1/+1
* Refs #29253 -- Fixed method_decorator() crash if decorator sets a new attribute.Chris Jerdonek2018-06-271-0/+15
* Fixed #29253 -- Made method_decorator(list) copy attributes.Chris Jerdonek2018-04-161-6/+23
* Updated decorators test to use subTest().Chris Jerdonek2018-04-161-9/+9
* Fixed spelling of "nonexistent".Tim Graham2017-02-031-2/+2
* Refs #23919 -- Removed misc references to Python 2.Tim Graham2017-01-211-2/+2
* Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette2017-01-191-17/+17
* Refs #20223 -- Removed deprecated django.utils.functional.allow_lazy().Tim Graham2017-01-171-14/+1
* Fixed E305 flake8 warnings.Ramin Farajpour Cami2016-11-141-0/+5
* Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za2016-11-101-8/+3
* Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne2016-06-161-9/+9
* Fixed #10107 -- Allowed using mark_safe() as a decorator.Scott Vitale2016-06-071-0/+4
* Fixed #20223 -- Added keep_lazy() as a replacement for allow_lazy().Iacopo Spalletti2015-12-121-2/+16
* Fixed #25611 -- Standardized descriptor signatures.Tim Graham2015-10-261-3/+3
* Fixed #25269 -- Allowed method_decorator() to accept a list/tuple of decorators.fabrizio ettore messina2015-09-181-8/+73
* Fixed #25146 -- Allowed method_decorator() to decorate classes.Rigel Di Scala2015-08-011-1/+50
* Fixed #13008 -- Added more Cache-Control headers to never_cache() decorator.Markus Bertheau2015-04-281-0/+12
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-7/+15
* Removed django.utils.functional.memoize per deprecation timeline.Tim Graham2015-01-171-7/+1
* Fixed #23923 -- Promoted Django's deprecation warnings to errors in runtests.pyTim Graham2014-11-291-1/+2
* Fixed #21247 -- Made method_decorator play nicely with descriptorsMarc Tamlyn2014-02-091-1/+37
* Removed unused imports + other flake8 fixes.Tim Graham2014-02-091-1/+2
* Merge pull request #1997 from dpwrussell/method_decorator_args_fixMarc Tamlyn2014-02-091-1/+21
|\
| * Fixed #21513 -- Added method_decorator support for argumented decoratordpwrussell2014-01-101-1/+21
* | Removed superfluous models.py files.Aymeric Augustin2013-12-171-1/+0
|/
* Fixed #21351 -- Replaced memoize with Python's lru_cache.Bouke Haarsma2013-11-111-1/+5
* PEP8Jason Myers2013-11-021-1/+2
* Fix all violators of E231Alex Gaynor2013-10-261-1/+1
* Fixed #21298 -- Fixed E301 pep8 warningsAlasdair Nicol2013-10-231-0/+1
* Fixed #21270 -- Fixed E701 pep8 warningsAlasdair Nicol2013-10-171-2/+5
* Whitespace cleanup.Tim Graham2013-10-101-1/+0
* Stopped using django.utils.unittest in the test suite.Aymeric Augustin2013-07-011-1/+1
* Use assertIsInstance in tests.Marc Tamlyn2013-05-211-5/+5
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-263-0/+252