Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django/views/decorators/vary.py
Commit message (Collapse)AuthorAgeFilesLines
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-0/+1
|
* Correct flake8 E302 violationsRay Ashman Jr2013-11-031-0/+2
|
* Replaced old-style with new-style decorator syntax.Jannis Leidel2011-05-011-2/+4
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@16138 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Removed a bunch more Python 2.4 workarounds now that we ↵Adrian Holovaty2011-03-281-5/+1
| | | | | | don't support that version. Refs #15702 -- thanks to jonash for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #12164 -- Removed the Python 2.3 compatibility ↵Russell Keith-Magee2010-05-041-1/+1
| | | | | | imports and workarounds. Thanks to timo and claudep for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #13093 -- Updated some decorators and the ↵Russell Keith-Magee2010-03-121-2/+3
| | | | | | decorator_from_middleware function to allow callable classes to be decorated. Thanks to Brian Neal for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12762 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #5701 -- Fixed decorators to take the name, ↵Gary Wilson Jr2008-02-251-2/+7
| | | | | | attributes, and docstring of the function they decorate by adding a modified version of the `functools.wraps` function from Python 2.5. `wraps` has been altered to work with Django's `curry` function and with Python 2.3, which doesn't allow assignment of a function's `__name__` attribute. This fixes severaly annoyances, such as the online documentation for template filters served by the admin app. This change is backwards incompatible if, for some reason, you were relying on the name of a Django decorator instead of the function it decorates. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7153 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Moved vary decorators from django.utils.cache to ↵Adrian Holovaty2005-10-091-0/+35
django.views.decorators.vary git-svn-id: http://code.djangoproject.com/svn/django/trunk@809 bcc190cf-cafb-0310-a4f2-bffc1f526a37