summaryrefslogtreecommitdiff
path: root/django/views/decorators
AgeCommit message (Expand)Author
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
2025-07-23Removed double spaces after periods and within phrases.Sarah Boyce
2025-02-18Refs #36005 -- Used datetime.UTC alias instead of datetime.timezone.utc.Mariusz Felisiak
2024-02-17Fixed #35187 -- Fixed @sensitive_variables/sensitive_post_parameters decorato...Mariusz Felisiak
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
2023-07-10Refs #31949 -- Made @vary_on_(cookie/headers) decorators work with async func...Ben Lomax
2023-07-10Made @vary_on_cookie decorator reuse @vary_on_headers.Mariusz Felisiak
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-23Refs #31949 -- Simplified @sensitive_variables a bit.Jon Janzen
2023-06-23Refs #31949 -- Made @sensitive_variables/sensitive_post_parameters decorators...Jon Janzen
2023-05-26Optimized @condition decorator a bit.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-04-25Refs #31949 -- Made @never_cache and @cache_control() decorators to work with...Ben Lomax
2023-03-30Reverted "Refs #31949 -- Enabled @sensitive_variables to work with async func...Mariusz Felisiak
2023-03-22Refs #31949 -- Enabled @sensitive_variables to work with async functions.Jon Janzen
2023-02-01Refs #33476 -- Applied Black's 2023 stable style.David Smith
2022-05-25Normalized decorator style for functools.wraps.Aymeric Augustin
2022-05-25Normalized imports of functools.wraps.Aymeric Augustin
2022-05-25Renamed wrapped functions to wrapper.Aymeric Augustin
2022-03-24Refs #32365 -- Removed internal uses of utils.timezone.utc alias.Carlton Gibson
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-06-25Refs #32508 -- Raised ImproperlyConfigured/TypeError instead of using "assert...Mateo Radman
2021-05-12Fixed #32366 -- Updated datetime module usage to recommended approach.Nick Pope
2021-02-24Refs #32468 -- Added error message on invalid usage of cache decorators.Haki Benita
2020-10-22Fixed #32124 -- Added per-view opt-out for APPEND_SLASH behavior.Carlton Gibson
2020-09-14Fixed #31789 -- Added a new headers interface to HttpResponse.Tom Carrick
2020-01-16Fixed #30765 -- Made cache_page decorator take precedence over max-age Cache-...Flavio Curella
2019-12-10Fixed #31077 -- Made debug decorators raise TypeError if they're not called.Baptiste Mispelon
2018-05-04Fixed #26688 -- Fixed HTTP request logging inconsistencies.Samir Shah
2017-11-14Fixed #28795 -- Removed 'not in' checks and used dict.setdefault().Дилян Палаузов
2017-06-06Fixed #28104 -- Prevented condition decorator from setting ETag/Last-Modified...Josh Schneier
2017-03-03Refs #27656 -- Updated django.views docstring verbs according to PEP 257.Anton Samarchyan
2017-02-01Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments.Vytis Banaitis
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-21Refs #23919 -- Removed django.utils.decorators.available_attrs() usage.Tim Graham
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-09-10Fixed #27083 -- Added support for weak ETags.Kevin Christopher Henry
2016-09-09Normalized spelling of ETag.Tim Graham
2016-04-08Fixed E128 flake8 warnings in django/.Tim Graham
2015-12-31Removed British/Austrialian word: whilist.Tim Graham
2015-08-31Fixed #25331 -- Removed trailing blank lines in docstrings.Maxime Lorant
2015-08-15Fixed #24935 -- Refactored common conditional GET handling.Denis Cornehl
2015-05-25Fixed typos in HTTP decorator docs.I am Clinton
2015-05-13Removed unnecessary arguments in .get method callsPiotr Jakimiak
2015-02-06Sorted imports with isort; refs #23860.Tim Graham