summaryrefslogtreecommitdiff
path: root/django/utils/decorators.py
AgeCommit message (Expand)Author
2020-03-18Fixed #31224 -- Added support for asynchronous views and middleware.Andrew Godwin
2020-02-18Refs #26601 -- Deprecated passing None as get_response arg to middleware clas...Claude Paroz
2019-10-21Fixed #30876 -- Moved classproperty() decorator to the django.utils.functional.André Ericson
2019-02-05Refs #27753 -- Removed django.utils.decorators.ContextDecorator alias.Tim Graham
2019-02-05Refs #27753 -- Removed django.utils.decorators.available_attrs().Tim Graham
2018-09-26Refs #29784 -- Switched to https:// links where available.Jon Dufresne
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
2017-02-11Refs #27656 -- Updated django.utils docstring verbs according to PEP 257.Anton Samarchyan
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-21Refs #23919 -- Removed django.utils.decorators.available_attrs() usage.Tim Graham
2017-01-19Refs #23919 -- Removed usage of django.utils.decorators.ContextDecorator.Chillar Anand
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz
2016-01-25Fixed #26125 -- Fixed E731 flake warnings.userimack
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-06-12Fixed #24965 -- Made LiveServerTestCase.live_server_url accessible from classMoritz Sichert
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-11-24Fixed typo in django/utils/decorators.py comment.Tom V
2014-08-28Factorize some code using ContextDecorator.Thomas Chaumeny
2014-08-15Fixed #23287 -- Updated error message for classonlymethod decorator.Tim Graham
2014-02-09Fixed #21247 -- Made method_decorator play nicely with descriptorsMarc Tamlyn
2014-01-10Fixed #21513 -- Added method_decorator support for argumented decoratordpwrussell
2013-10-23Fixed #21298 -- Fixed E301 pep8 warningsAlasdair Nicol
2013-03-12Restricted a workaround for a bug in Python to the affected versions.Aymeric Augustin
2012-04-29Fixed #18013 -- Use the new 'as' syntax for exceptions.Claude Paroz
2011-05-24Fixed #16004 - csrf_protect does not send cookie if view returns TemplateResp...Luke Plant
2011-05-01Replaced old-style with new-style decorator syntax.Jannis Leidel
2011-03-28Removed a bunch more Python 2.4 workarounds now that we don't support that ve...Adrian Holovaty
2010-11-20Fixed #14512 -- Added documentation on how to apply decorators to class-based...Russell Keith-Magee
2010-10-21Fixed a bug with method_decorator not preserving the attributes of the wrappe...Luke Plant
2010-05-13Corrected 'name' of functions wrapped with method_decoratorLuke Plant
2010-05-04Fixed #12164 -- Removed the Python 2.3 compatibility imports and workarounds....Russell Keith-Magee
2010-03-12Fixed #13093 -- Updated some decorators and the decorator_from_middleware fun...Russell Keith-Magee
2010-02-09Fixed #12804 - regression with decorating admin views.Luke Plant
2009-10-15Licence block for code added in r11586Luke Plant
2009-10-01Removed some unused code and improved docstring on auto_adapt_to_methodsLuke Plant
2009-09-22Fixed typo in docstring for decorator_from_middleware_with_args.Luke Plant
2009-09-21Fixed #6371 - several decorators don't work with bound methods.Luke Plant
2008-03-17Fixed #6679 -- In `decorator_from_middleware`, don't unpack arguments when ca...Gary Wilson Jr
2008-02-25Fixed #5701 -- Fixed decorators to take the name, attributes, and docstring o...Gary Wilson Jr
2007-07-07Corrected misleading comment from [5619]. Not sure what I was smoking at theMalcolm Tredinnick
2007-07-05Fixed #1015 -- Fixed decorator_from_middleware to return a real decorator evenMalcolm Tredinnick
2005-11-27Fixed #878 -- URLconf regex captures no longer have to be named groups. Old U...Adrian Holovaty
2005-11-04Fixed bug in django.utils.decorators.decorator_from_middleware -- it wasn't r...Adrian Holovaty
2005-10-15Fixed #616 -- Added a process_exception() hook to middleware framework. Thank...Adrian Holovaty
2005-10-10Fixed #600 -- decorator_from_middleware now handles process_view. Thanks, HugoAdrian Holovaty
2005-10-08Added django.utils.decorators, from Hugo's #580 patch. Refs #580.Adrian Holovaty