django1/django
Aymeric Augustin 58a086acfb Required serializer to use bytes in loads/dumps
loads has no way to tell if it should provide text or bytes to the
serializer; bytes are more reasonnable for a serialized representation,
and are the only option for pickled data.

dumps can perform conversions on the value it receives from the
serializer; but for consistency it seems better to require bytes too.

The current code would cause an exception when loading pickled session
data. See next commit.

Also fixed a bug when checking for compressed data.
2012-10-28 16:57:15 +01:00
..
bin Fixed #18978 -- Moved cleanup command to sessions. 2012-10-27 18:31:00 +02:00
conf Reverted unintentional change in aff9b2f. 2012-10-28 12:33:38 +01:00
contrib Fixed #14093 -- Improved error message in the cache session backend. 2012-10-28 12:40:10 +01:00
core Required serializer to use bytes in loads/dumps 2012-10-28 16:57:15 +01:00
db Fixed #18823 -- Ensured m2m.clear() works when using through+to_field 2012-10-28 17:31:35 +02:00
dispatch Added a way to check if a signal has listeners 2012-09-28 18:10:52 +03:00
forms Fixed #16820 -- Treated '0' value as True for checkbox inputs 2012-10-26 20:44:00 +02:00
http Fixed #18796 -- Refactored conversion to bytes in HttpResponse 2012-10-25 08:49:51 +02:00
middleware Fixed #7581 -- Added streaming responses. 2012-10-20 20:05:11 +02:00
shortcuts Fixed #15552 -- LOGIN_URL and LOGIN_REDIRECT_URL can take URLpattern names. 2012-09-08 16:58:35 -06:00
template Fixed #18484 -- Removed the div around the csrf token input 2012-10-13 11:30:09 +02:00
templatetags Fixed #19088 -- Always escape % inside blocktrans tag 2012-10-23 18:49:22 +02:00
test Fixed #13222 -- Made HttpResponse iterable once 2012-10-24 17:19:56 +02:00
utils Properly support pickling of LazyObjects in Python 3.3 2012-10-26 01:40:33 +01:00
views PEP 302 source loaders already decode appropriately 2012-10-26 01:40:32 +01:00
__init__.py Advanced version identifiers for 1.6 cycle. 2012-10-26 22:01:34 -03:00