django1/django/core
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
..
cache Removed many uses of bare "except:", which were either going to a) silence real issues, or b) were impossible to hit. 2012-09-07 15:08:07 -04:00
files Fixed #18947 -- Don't make uploaded files executeable by default. 2012-09-17 22:53:10 +02:00
handlers Removed a function that is already fully implemented by a base class. 2012-10-24 12:49:57 -07:00
mail Fixed #19107 -- Workarounded message-encoding bug on Python < 2.6.6 2012-10-11 21:40:14 +02:00
management Fixed #18978 -- Moved cleanup command to sessions. 2012-10-27 18:31:00 +02:00
serializers Fixed #9279 -- Added ignorenonexistent option to loaddata 2012-09-30 23:40:27 -07:00
servers Removed custom WSGIRequestHandler.get_environ 2012-10-20 13:55:13 +02:00
__init__.py Imported Django from private SVN repository (created from r. 8825) 2005-07-13 01:25:57 +00:00
context_processors.py [py3] Made csrf context processor return Unicode 2012-08-13 11:54:21 +02:00
exceptions.py Fixed #3011 -- Added swappable auth.User models. 2012-09-26 18:48:09 +08:00
paginator.py Fixed #17159 -- Validated returned number of next|previous_page_number 2012-06-09 17:55:24 +02:00
signals.py Major refactoring of django.dispatch with an eye towards speed. The net result is that signals are up to 90% faster. 2008-08-06 15:32:46 +00:00
signing.py Required serializer to use bytes in loads/dumps 2012-10-28 16:57:15 +01:00
urlresolvers.py Fixed #17892 -- Do not include whole RegexURLPattern lists in RegexURLResolver repr 2012-09-01 22:20:46 +02:00
validators.py Fixed #17867 -- Made email validation pass with IDN domains 2012-10-09 15:08:32 +02:00
wsgi.py Fixed #16360 -- Added WSGI entrypoint to startproject layout, and enabled internal servers (runserver and runfcgi) to use an externally-defined WSGI application. Thanks to Armin Ronacher, Jannis Leidel, Alex Gaynor, ptone, and Jacob Kaplan-Moss. 2011-10-22 04:30:10 +00:00
xheaders.py Fixed #8049 -- Fixed inconsistency in admin site is_active checks. Thanks for patch and tests, isagalaev 2010-01-10 16:51:13 +00:00