django1/django/middleware
Aymeric Augustin 7aacde84f2 Made transaction.managed a no-op and deprecated it.
enter_transaction_management() was nearly always followed by managed().

In three places it wasn't, but they will all be refactored eventually.
The "forced" keyword argument avoids introducing behavior changes until
then.

This is mostly backwards-compatible, except, of course, for managed
itself. There's a minor difference in _enter_transaction_management:
the top self.transaction_state now contains the new 'managed' state
rather than the previous one. Django doesn't access
self.transaction_state in _enter_transaction_management.
2013-03-11 14:48:53 +01:00
..
__init__.py Imported Django from private SVN repository (created from r. 8825) 2005-07-13 01:25:57 +00:00
cache.py Prevented caching of streaming responses. 2012-12-24 20:28:07 +01:00
clickjacking.py Fixed #14261 - Added clickjacking protection (X-Frame-Options header) 2011-05-30 22:27:47 +00:00
common.py Fixed #19099 -- Split broken link emails out of common middleware. 2013-01-15 17:41:45 +01:00
csrf.py Fixed #15808 -- Added optional HttpOnly flag to the CSRF Cookie. 2013-02-07 09:48:08 +01:00
doc.py Fixed #14506 -- Added an assertion to XViewMiddleware about the dependency on the authentication middleware. Thanks, vanschelven. 2011-07-03 17:56:25 +00:00
gzip.py Fixed #7581 -- Added streaming responses. 2012-10-20 20:05:11 +02:00
http.py Fixed #7581 -- Added streaming responses. 2012-10-20 20:05:11 +02:00
locale.py Fixed #5241 -- Kept active transalation in LocaleMiddleware.process_response. 2013-02-28 14:21:48 +01:00
transaction.py Made transaction.managed a no-op and deprecated it. 2013-03-11 14:48:53 +01:00