summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2013-08-13Bump version post-release.Jacob Kaplan-Moss
2013-08-13Bumped version numbers for 1.5.2.Jacob Kaplan-Moss
2013-08-13Apply autoescaping to AdminURLFieldWidget.Jacob Kaplan-Moss
This is a security fix; disclosure to follow shortly.
2013-08-13Fixed is_safe_url() to reject URLs that use a scheme other than HTTP/S.Jacob Kaplan-Moss
This is a security fix; disclosure to follow shortly.
2013-07-29[1.5.x] Fixed #20774 -- Mention the new django-localflavor app as a ↵Jannis Leidel
replacement for the contrib app. Backport from master.
2013-07-28[1.5.x] Simplified smart_urlquote and added some basic tests.Florian Apolloner
Backport of b70c371fc1f18ea0c43b503122df3f311afc7105 from master.
2013-07-27[1.5.x] Optimisation in prefetch_related_objectsLuke Plant
Backport of 17559e6eb0 from master
2013-07-27[1.5.x] Fixed #19607 - prefetch_related crashLuke Plant
Thanks to av@rdf.ru and flarno11@yahoo.de for the report. Backport of 4fd94969d8 from master
2013-07-25[1.5.x] Fixed #20679 -- Corrected CachedFilesMixin.post_process docstring.Tim Graham
Thanks bmispelon for the report. Backport of 9b88dd3809 from master
2013-07-22[1.5.x] Fixed #20773 -- [gis] Fixed regression in GoogleMap outputClaude Paroz
Thanks Martyn Clement for the report and the initial patch. Backport of 27c1a7257 from master.
2013-07-13[1.5.x] Fixed #20681 -- Prevented teardown_databases from attempting to tear ↵Tim Graham
down aliases Thanks simonpercivall. Backport of d9c580306c from master
2013-07-10[1.5.x] Fixed #20075 -- Fixed session test fail when using a cache other ↵Mathijs de Bruin
than LocMemCache. As override_settings was used after the initialization of the session backend, we need to use a new session backend here. Backport of 8c1cc4b3b0 from master
2013-07-09[1.5.x] Fixed #20722 -- Fixed MemcachedCache backend get_many on Python 3.Tim Graham
Backport of 3c736207a3 from master
2013-07-07[1.5.x] Fixed #20711 -- Fixed broken link in timesince.py docstringSusanTan
Backport of d63327d843 from master.
2013-07-04[1.5.x] Fixed #19940 -- Made test.runner.setup_databases properly handle ↵Tim Graham
aliases for defau Thanks simonpercivall. Backport of 2cbd579efe from master.
2013-07-04[1.5.x] Fixed #20673 -- Clarified that HttpRequest.user uses AUTH_USER_MODEL.Tim Graham
Thanks littlepig for the report. Backport of f407f75aae from master.
2013-07-03[1.5.x] Fixed #20695 -- Fixed contrib.humanize translation syntax errorsClaude Paroz
Affected language: Mexican Spanish, Mongolian, Romanian, Turkish Translations for 1.6 and master will be refetched from Transifex. Thanks ruless at gmail.com for the report.
2013-07-03[1.5.x] Fixed #20687 -- Added documentation for django.core.signing API.Tomáš Ehrlich
Thanks Baptiste Mispelon for the suggestion. Backport of c5bc98d7e1 from master.
2013-06-29[1.5.x] Fixed #20677 - Typos in generic_inlineformset_factory docs.Tim Graham
Thanks Riley Strong for the report. Backport of 3fd0ee5b46 from master
2013-06-24[1.5.x] Fixed #20636 -- Stopped stuffing values in the settings.Aymeric Augustin
In Django < 1.6, override_settings restores the settings module that was active when the override_settings call was executed, not when it was run. This can make a difference when override_settings is applied to a class, since it's executed when the module is imported, not when the test case is run. In addition, if the settings module for tests is stored alongside the tests themselves, importing the settings module can trigger an import of the tests. Since the settings module isn't fully imported yet, class-level override_settings statements may store a reference to an incorrect settings module. Eventually this will result in a crash during test teardown because the settings module restored by override_settings won't the one that was active during test setup. While Django should prevent this situation in the future by failing loudly in such dubious import sequences, that change won't be backported to 1.5 and 1.4. However, these versions received the "allowed hosts" patch and they're prone to "AttributeError: 'Settings' object has no attribute '_original_allowed_hosts'". To mitigate this regression, this commits stuffs _original_allowed_hosts on a random module instead of the settings module. This problem shouldn't occur in Django 1.6, see #20290, but this patch will be forward-ported for extra safety. Also tweaked backup variable names for consistency.
2013-05-24[1.5.x] Rotate CSRF token on loginAndrew Godwin
Backport of 1514f17aa60772f48839130f9a5071b9ffe15213 from master
2013-05-21[1.5.x] Imported copyreg from six.movesClaude Paroz
2013-05-21[1.5.x] Fixed #20212 - __reduce__ should only be defined for Py3+.Daniel Lindsley
2013-05-21[1.5.x] Fixed prefetch_related + pickle regressionsAnssi Kääriäinen
There were a couple of regressions related to field pickling. The regressions were introduced by QuerySet._known_related_objects caching. The regressions aren't present in master, the fix was likely in f403653cf146384946e5c879ad2a351768ebc226. Fixed #20157, fixed #20257. Also made QuerySets with model=None picklable.
2013-05-20[1.5.x] Fixed #20278 -- ensured .get() exceptions do not recurse infinitelyAnssi Kääriäinen
A regression caused by d5b93d3281fe93cbef5de84a52 made .get() error reporting recurse infinitely on certain rare conditions. Fixed this by not trying to print the given lookup kwargs. Backpatch of 266c0bb23e9d64c47ace4d162e582febd5a1e336
2013-05-11[1.5.X] Fixed #20136 - Fixed and expanded the docs for loaddata and model ↵Tim Graham
signals. Thanks brandon@ and Anssi for the report. Backport of 2c62a509de from master
2013-05-10[1.5.x] Fixed #20025 -- Pointed to a MySQLdb fork for Python 3.Aymeric Augustin
Made a few minor compatibility adjustments. Backport of e81e319f from master.
2013-05-10[1.5.x] [py3] Stopped iterating on exceptions. Refs #20025.Aymeric Augustin
Backport of 86b4ac66 from master.
2013-05-07[1.5.x] Fixed #20354 -- `makemessages` no longer crashes with ↵Tai Lee
`UnicodeDecodeError` Handle the `UnicodeDecodeError` exception, send a warning to `stdout` with the file name and location, and continue processing other files. Backport of 99a6f0e77 from master.
2013-05-01[1.5.x] Fixed #19252 -- Added support for wheel packages.Florian Apolloner
Backport from master (a5becad9094e5c5403b692b9a7b3a6ffaabf64a3). Signed-off-by: Jannis Leidel <jannis@leidel.info>
2013-04-14[1.5.x] Fixed geojson detection with SpatialiteClaude Paroz
This is a partial backport of commit eb9430fc4be1. Without this, geojson support is never detected with Spatialite. Refs #20252 and #19028.
2013-04-12[1.5.x] Fixed #20237 (again) Allowed binary parameter to assertContainsClaude Paroz
Backport of b04fd579d5 from master.
2013-04-12[1.5.x] Fixed #20211: Document backwards-incompatible change in ↵Baptiste Mispelon
BoundField.label_tag Also cleaned up label escaping and consolidated the test suite regarding label_tag. Backport of ab686022f from master.
2013-04-11[1.5.x] Fixed #20237 -- Reenabled assertContains with binary parameterClaude Paroz
Thanks Baptiste Mispelon for the review. Backport of fe01404bb9 from master.
2013-04-05[1.5.x] Fixed #20207 -- Handle ManyToManyField with a unicode name correctly.Simon Charette
Backport of 216580e034.
2013-04-01[1.5.x] Fixed #20169 -- Ensured that the WSGI request's path is correctly ↵Julien Phalip
based on the `SCRIPT_NAME` environment parameter or the `FORCE_SCRIPT_NAME` setting, regardless of whether or not those have a trailing slash. Thanks to bmispelon for the review. Backport of 2f81a0ca6543f
2013-03-29[1.5.x] Fixed spelling errorsGavin Wahl
Backport of ec04fd1344 from master
2013-03-28Bumped version number post-release.Jacob Kaplan-Moss
2013-03-28Bump version numbers for 1.5.1.1.5.1Jacob Kaplan-Moss
2013-03-28Updated translations from TransifexClaude Paroz
Polish, Telugu, Georgian, Azerbaijani, Norwegian Bokmål, Basque, Dutch, Thai, Spanish (Argentina), Afrikaans.
2013-03-27[1.5.x] Fixed #20078: don't allow filtering on password in the user admin.Jacob Kaplan-Moss
Backport of 9e462f810194800af30ea19a6fb8ac5697d839b4 from master.
2013-03-27[1.5.x] Fixed #18985 -- ensure module level deprecations are displayedPreston Holmes
Also don't compete with -W CLI option. Thanks to Aymeric Augustin for the catch, and Claude Paroz for the patch. Backport of e79b857a07905340556f781a7d63016236b21c61 from master.
2013-03-26[1.5.x] Fixed #20091 -- Oracle null promotion for empty stringsAnssi Kääriäinen
Backpatch of e17fa9e877e84e93b699c2bd13ea48dbbb86e451
2013-03-23[1.5.x] Fixed #20048, #20060 -- Modified tests for contrib apps sensitive to ↵Russell Keith-Magee
custom User models. Thanks to matiasb for the report of #20060 and the draft patch for #20048. (cherry picked from commit 930af661abdb4eb7322f1ab06f21df9ed04af43d)
2013-03-22[1.5.x] Fixed #20108 -- Fixed filepath_to_uri decoding errorClaude Paroz
This was a regression due to unicode_literals usage. Thanks Ivan Virabyan for the report and the initial patch. Backport of 164528acc8 from master.
2013-03-22[1.5.x] Fixed #20094 - Be more careful when checking for IteratorMarc Tamlyn
Python 2.6 has some different behaviour when checking isinstance(foo, collections.Iterator). Backport of 829dc3c5 from master.
2013-03-20[1.5.x] Revert "Fixed #19895 -- Made second iteration over invalid queryset ↵Claude Paroz
raise an exception too" This reverts commit d1e87eb3baf75b1b6a0ada46a9b77f7e347cdb60. This commit was the cause of a memory leak. See ticket for more details. Thanks Anssi Kääriäinen for identifying the source of the bug.
2013-03-17[1.5.x] Stopped using non-standard __globals__ and __code__ attributes.Aymeric Augustin
Some alternative implementations don't have them. Closes #19944. Backport of 9d4a5b00f1977d8cddf8e241fa4bb8a9e819f188 from master.
2013-03-17[1.5.x] Updated bundled version of six.Aymeric Augustin
Backport of e11ccc76d325b6bbbf101f510a91299f507f0745.
2013-03-17[1.5.x] Updated our six module to follow upstream changes.Florian Apolloner
This includes fixes for the java/jython detection and a new license header. Thanks to Thomas Bartelmess for the report. Backport of c5ce0e8a687ecf7fbc38fa85c5311a6320a246c6 from master.