Commit Graph

1919 Commits

Author SHA1 Message Date
Tim Graham 7dcc48f595 [1.9.x] Fixed typo in docs/releases/1.9.txt.
Backport of 02d974ceb5 from master
2015-11-16 19:34:51 -05:00
Agnieszka Lasyk b3389956c9 [1.9.x] Fixed #25755 -- Unified spelling of "website".
Backport of 1f8dad6915 from master
2015-11-16 06:44:46 -05:00
Dmitry Dygalo fe79bc3ed9 [1.9.x] Fixed #25666 -- Fixed the exact lookup of ArrayField.
Backport of 263b3d2ba1 from master
2015-11-14 11:21:53 -05:00
Tim Graham 672de44e24 [1.9.x] Replaced "inbuilt" with more common "built-in".
Backport of a8f05f405f from master
2015-11-12 17:30:38 -05:00
Tim Graham 5bb40e7608 [1.9.x] Refs #24937 -- Forwardport of 1.8.7 release note.
Forwardport of 3ded51bcf2 from stable/1.8.x
2015-11-11 17:02:19 -05:00
Marti Raudsepp 1eed16b9db [1.9.x] Fixed #25720 -- Made gettext() return bytestring on Python 2 if input is bytestring.
This is consistent with the behavior of Django 1.7.x and earlier.

Backport of d3e3703a15 from master
2015-11-11 08:57:41 -05:00
Tim Graham b2e12ea813 [1.9.x] Updated six to 1.10.0.
Backport of 4c593eaa5f from master
2015-11-11 06:54:06 -05:00
Ian Foote f9a08eb897 [1.9.x] Fixed #25693 -- Prevented data loss with Prefetch and ManyToManyField.
Thanks to Jamie Matthews for finding and explaining the bug.

Backport of 4608573788 from master
2015-11-10 12:12:45 -05:00
Tim Graham 3dcdfcc8d3 [1.9.x] Refs #25618 -- Forwardported 1.8.7 release note.
Forwardport of 8c8a6d8a3f from stable/1.8.x
2015-11-10 10:44:55 -05:00
Marti Raudsepp 8db5122d69 [1.9.x] Fixed #25683 -- Allowed ModelChoiceField(queryset=...) to accept Managers.
This fixes a regression from refs #25496.

Backport of 1155843a41 from master
2015-11-09 12:44:34 -05:00
Tim Graham 6858bf758c [1.9.x] Refs #25686 -- Forwardported 1.8.7 release note. 2015-11-09 11:00:03 -05:00
Aymeric Augustin ca0278f496 [1.9.x] Fixed debug view crash during autumn DST change.
This only happens if USE_TZ = False and pytz is installed (perhaps not
the most logical combination, but who am I to jugde?)

Refs #23714 which essentially fixed the same problem when USE_TZ = True.

Thanks Florian and Carl for insisting until I wrote a complete patch.

Backport of 1014ba026e from master
2015-11-09 06:56:44 -05:00
Tim Graham 1b72e3fbf3 [1.9.x] Added stub release notes for 1.8.7.
Backport of d49b36e485 from master
2015-11-05 09:43:42 +01:00
Tim Graham 4dc34becf6 [1.9.x] Added release date for 1.8.6. 2015-11-04 17:48:26 +01:00
Tim Graham 8b1c386f80 [1.9.x] Fixed #25100 -- Documented an upgrade caveat for contenttypes migration.
Backport of 81b55fb900 from master
2015-10-30 10:31:05 -04:00
Tim Graham 83607e2b7a [1.9.x] Fixed #23985 -- Documented a backwards incompatible change in URLValidator.
Backport of 8c5b8018f6 from master
2015-10-29 18:07:02 -04:00
Tim Graham adc9fa8324 [1.9.x] Fixed #25489 -- Documented that SESSION_SAVE_EVERY_REQUEST doesn't create empty sessions.
Backport of abf5ccc29c from master
2015-10-29 17:29:16 -04:00
Simon Charette 6eaf43a244 [1.9.x] Fixed #25622 -- Accounted for generic relations in the admin to field validation
Thanks to Jonathan Liuti for the report and Tim Graham for the review.

Backport of 9dcfecb7c6 from master
2015-10-29 13:15:40 -04:00
Dheerendra Rathor 6bb9f51ab8 [1.9.x] Fixed #25620 -- Made URLValidator prohibit URLs with consecutive dots in the domain section.
Backport of 96fe90f535 from master
2015-10-29 11:14:20 -04:00
Tim Graham 774a893d0b [1.9.x] Fixed #25618 -- Added a helpful error message when Django & south migrations exist in the same directory.
Forwardport of 65bff161ff from stable/1.8.x
2015-10-28 10:19:35 -04:00
Simon Charette da9e9484f2 [1.9.x] Revert "Fixed #25417 -- Added a field check for invalid default values."
This reverts commit 71ebcb85b9.

Backport of 976bd519a8 from master
2015-10-27 11:17:02 -04:00
Tim Graham 64a9115bce [1.9.x] Fixed #25597 -- Fixed crash with SplitArrayField and IntegerField on invalid value.
Backport of 1f07da3e29 from master
2015-10-27 08:13:21 -04:00
Tim Graham ec388ee174 [1.9.x] Documented Python 3.5 support for Django 1.8.
Forwardport of d27085b02d from stable/1.8.x
2015-10-26 10:13:50 -04:00
Tim Graham 1a6258c090 [1.9.x] Documented related model descriptor class renames.
Renamed in e542e81b39.

Backport of d6a9074783 from master
2015-10-26 08:54:33 -04:00
Claude Paroz e241444ef5 [1.9.x] Fixed #25592 -- Fixed misnamed strictly_above PostGIS lookup
Fixes a regression from 2bd1bbc42. Thanks Daniel Wiesmann for the report
and Tim Graham for the review.
Backport of c08f85fd54 from master.
2015-10-22 20:33:55 +02:00
Tim Graham 02f3084f4e [1.9.x] Fixed #25584 -- Documented a pip error when installing Django 1.9.
Backport of ee66d8dd7d from master
2015-10-22 10:09:04 -04:00
Yusuke Miyazaki a083d70192 [1.9.x] Fixed #25578 -- Corrected the casing of "GitHub".
Backport of 230d8c7301 from master
2015-10-21 07:32:28 -04:00
Simon Charette 522b0bc91f [1.9.x] Fixed #25563 -- Cached deferred models in their proxied model's _meta.apps.
Thanks to Andriy Sokolovskiy for the report and Tim Graham for the review.

Backport of 3db3ab71e9 from master
2015-10-19 20:13:16 -04:00
Josh Smeaton 7a3b486ccd [1.9.x] Fixed #25517 -- Made Concat function idempotent on SQLite.
Backport of 6c95b134e9 from master
2015-10-17 15:56:00 -04:00
Tim Graham d1ccf7b784 [1.9.x] Forwardported 1.8.6 release note. 2015-10-14 12:24:43 -07:00
Antoine Catton 36e7d275ec [1.9.x] Fixed #25506 -- Allowed filtering over a RawSQL annotation.
Co-Authored-By: Gavin Wahl <gwahl@fusionbox.com>

Backport of b971c1cd78 from master
2015-10-14 11:24:12 -07:00
Mariusz Felisiak fbe8930745 [1.9.x] Fixed #25503 -- Fixed system check crash on ForeignKey to abstract model.
Backport of 914167abf1 from master
2015-10-06 19:23:53 -04:00
Riccardo Magliocchetti 6f653f759a [1.9.x] Refs #12118 -- Allowed "mode=memory" in SQLite test database names.
Backport of 3543fec3b7 from master
2015-10-06 12:33:21 -04:00
Tim Graham 6bc8bdf55a [1.9.x] Fixed #25496 -- Made ModelChoiceField respect prefetch_related().
Backport of 6afa6818fc from master
2015-10-05 19:19:09 -04:00
Tim Graham 9f31439e67 [1.9.x] Fixed #25502 -- Added supported Python versions in 1.7, 1.8 release notes.
Backport of b215a3ab63 from master
2015-10-05 14:20:06 -04:00
Tim Graham 9b91c7d99d [1.9.x] Added stub release notes for 1.8.6.
Backport of 58195f0b16 from master
2015-10-03 19:58:32 -04:00
Tim Graham c5268b1a74 [1.9.x] Added release date for 1.8.5.
Backport of 2eb5589a72 from master
2015-10-03 19:35:18 -04:00
Ben Kraft 63a1e912a7 [1.9.x] Fixed #25389 -- Fixed pickling a SimpleLazyObject wrapping a model.
Pickling a `SimpleLazyObject` wrapping a model did not work correctly; in
particular it did not add the `_django_version` attribute added in 42736ac8.
Now it will handle this and other custom `__reduce__` methods correctly.

Backport of 35355a4ffe from master
2015-10-03 13:01:08 -04:00
Tim Graham 3569e9d4a1 [1.9.x] Refs #24505 -- Forwardported 1.8.5 release note.
Backport of 061801e3df from master
2015-09-30 18:47:44 -04:00
Tim Graham 59027a4cae [1.9.x] Fixed #25466 -- Added backwards compatibility aliases for LoaderOrigin and StringOrigin.
Thanks Simon Charette for the DeprecationInstanceCheck class.

Backport of 8d1a001ef6 from master
2015-09-29 19:20:11 -04:00
Mariusz Felisiak 6a0b4faf43 [1.9.x] Fixed #25421 -- Fixed test --keepdb option on Oracle.
Backport of a3a6def867 from master
2015-09-26 19:52:06 -04:00
Samir Shah eae5f738ba [1.9.x] Fixed typo in 1.9 release notes.
Backport of dfa81bb1df from master
2015-09-24 08:02:06 -04:00
Tim Graham 6b37719616 Refs #24526 -- Made the django logger handle INFO messages.
Without an explicit 'level', only messages at WARNING or higher
are handled. This makes the config consistent with the docs
which say, "The django catch-all logger sends all messages at
the INFO level or higher to the console."
2015-09-23 11:33:49 -04:00
Tim Graham 0e723ead52 Refs #21927 -- Added examples to urls.include() changes in 1.9 release notes. 2015-09-23 09:32:35 -04:00
Alex Hill 134ca4d438 Fixed #24509 -- Added Expression support to SQLInsertCompiler 2015-09-22 23:35:24 +10:00
Nick Johnson 392f64842f Fixed #25373 -- Added warning logging for exceptions during {% include %} tag rendering. 2015-09-21 19:57:12 -04:00
Aymeric Augustin 91e9f1c972 Fixed #24921 -- set_autocommit(False) + ORM queries.
This commits lifts the restriction that the outermost atomic block must
be declared with savepoint=False. This restriction was overly cautious.

The logic that makes it safe not to create savepoints for inner blocks
also applies to the outermost block when autocommit is disabled and a
transaction is already active.

This makes it possible to use the ORM after set_autocommit(False).
Previously it didn't work because ORM write operations are protected
with atomic(savepoint=False).
2015-09-21 22:21:53 +02:00
ramez 1335aa2fb9 Fixed #15760 -- Added JavaScript events for admin inline forms. 2015-09-21 15:34:44 -04:00
Claude Paroz 65a1055a36 Fixed #25431 -- Readded inline foreign keys to modelformset instances
Too much field exclusions in form's construct_instance() in _post_clean()
could lead to some unexpected missing ForeignKey values.
Fixes a regression from 45e049937. Refs #13776.
2015-09-21 21:30:49 +02:00
Alasdair Nicol fe3fc5210f Fixed #23813 -- Added checks for common URL pattern errors
Thanks jwa and lamby for the suggestions, and timgraham and jarshwah
for their reviews.
2015-09-21 23:46:21 +10:00