Backport of 8c4827e from master
…ters. This is a security fix; disclosure to follow shortly.
It seems there was a change in the parsing of encoding preambles in Python 2.7.9, compared to previous 2.7.x Pythons. This is a backport of the only piece of e520a73 that's needed to prevent an import failure under 2.7.9.
Also moved the test as it wasn't running.
… responses Backport of django.utils.text.compress_sequence and fix for django.middleware.gzip.GZipMiddleware when using iterators as response.content.
…ge files. This is a security fix. Disclosure following shortly.
This is a security fix. Disclosure following shortly.
…n WSGI environ. This is a security fix. Disclosure following shortly. Thanks to Jedediah Smith for the report.
…n the admin This change allows dynamically created inlines "Add related" button to work correcly as long as their associated foreign key is pointing to the primary key of the related model. Thanks to amorce for the report, Julien Phalip for the initial patch, and Collin Anderson for the review. Backport of f9c4e14 from master
Backport of 7ef81b5 from master
Thanks marfire for the report. Backport of 9db3653 from master
…n the admin. Thanks Simon Charette for review. Backport of a24cf21 from master
Backport of 4743a94 from stable/1.7.x
…ation Backport of ab82483 from master.