Luke Plant
|
7f3eda2f76
|
[1.3.X] Fixed #16004 - csrf_protect does not send cookie if view returns TemplateResponse
The root bug was in decorator_from_middleware, and the fix also corrects
bugs with gzip_page and other decorators.
Backport of [16276] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16279 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2011-05-25 17:31:47 +00:00 |
|
Luke Plant
|
afa092853f
|
[1.3.X] Changed utils/decorators.py tests to use RequestFactory
Backport of [16272] from trunk. Backported to make the backport of a
bugfix (regression) easier.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16278 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2011-05-25 17:31:36 +00:00 |
|
Russell Keith-Magee
|
615eab6b02
|
Fixed #13093 -- Updated some decorators and the 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
|
2010-03-12 13:06:13 +00:00 |
|
Gary Wilson Jr
|
d0032458a2
|
Fixed #6679 -- In decorator_from_middleware , don't unpack arguments when calling a middleware's
`process_view` method, thanks Gulopine.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7269 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2008-03-17 17:47:34 +00:00 |
|