1
0
mirror of https://github.com/django/django.git synced 2025-07-21 01:59:26 +00:00

1927 Commits

Author SHA1 Message Date
Tim Graham
0b10194b7b [1.9.x] Added release date for 1.8.7/1.7.11 releases. 2015-11-24 12:04:56 -05:00
Florian Apolloner
3ebbda0aef [1.9.x] Fixed a settings leak possibility in the date template filter.
This is a security fix.
2015-11-24 12:04:55 -05:00
George Marshall
11d54e8f0d [1.9.x] Fixed #25767 -- Fixed data truncation possibility with Positive(Small)IntegerField on MySQL.
Backport of 710e11d076b9e5ef3e3b486dfb70bb55b788691c from master
2015-11-24 11:10:19 -05:00
Tim Graham
8edf8db52f [1.9.x] Refs #25786 -- Added tests/release notes for set_FOO_order() crash with order_with_respect_to referencing OneToOneField pk.
Forwardport of 6d9f061b07ce7aa1a9da6799b3104971ee73998b from stable/1.8.x
The issue was fixed by 7bec480fe2ace94c8e7f0c88485442bfa74436b4.
2015-11-23 12:08:29 -05:00
Simon Charette
eb7a329fb6 [1.9.x] Fixed #25685 -- Fixed a duplicate query regression on deletion of proxied models.
Thanks to Trac alias ppetrid for the report and Tim for the review.

Conflicts:
	tests/delete/tests.py

Forward port of 7c3ef19978b36b61db88a519f799f1ce8d019679 from stable/1.8.x
2015-11-22 23:12:31 -05:00
Tim Graham
8727dc8e95 [1.9.x] Fixed #25715 -- Fixed Model.refresh_from_db() with ForeignKey w/on_delete=SET_NULL.
Backport of 54e2e688e1cfbdb37dfa5dd3b3ffdf2af12b4423 from master
2015-11-21 11:30:18 -05:00
Tim Graham
cc562c2f56 [1.9.x] Removed a bug fix from the 1.9 release notes.
The fix has also since been backported to stable/1.8.x.

Backport of afd046396175416883cfb2b0202592f6081308ef from master
2015-11-19 08:57:40 -05:00
Tim Graham
7bbfc43e34 [1.9.x] Refs #24971, #25356 -- Clarified how apps.py works in 1.9 release notes.
Backport of 6258e163352690faf20bfc92c12468316d1a47ae from master
2015-11-17 19:43:11 -05:00
Tim Graham
7dcc48f595 [1.9.x] Fixed typo in docs/releases/1.9.txt.
Backport of 02d974ceb5d69c005f76d421b14e248e26a06df7 from master
2015-11-16 19:34:51 -05:00
Agnieszka Lasyk
b3389956c9 [1.9.x] Fixed #25755 -- Unified spelling of "website".
Backport of 1f8dad69158a96d0649d321ce08ecc9c0465f962 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 263b3d2ba132ea443193dc0b728741317742c8d3 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 a8f05f405f8b78e13d7c4c9ffd73d6182b6fc4d5 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 3ded51bcf21f384b2e80ce97aff5c12d63e5f0e3 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 d3e3703a15cd9d294406121bc43be0c75b1a4e0e from master
2015-11-11 08:57:41 -05:00
Tim Graham
b2e12ea813 [1.9.x] Updated six to 1.10.0.
Backport of 4c593eaa5f6767ac56a677299c984ee46c88a2cb 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 4608573788c04fc047da42b4b7b48fdee8136ad3 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 8c8a6d8a3f869ecc4d72b96ddb4760a1b59d5e62 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 1155843a41af589a856efe8e671a796866430049 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 1014ba026e879e56e0f265a8d9f54e6f39843348 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 d49b36e485d201dd230a01f6cb8ea6e8e4fddb49 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 81b55fb90078788bfdc064550f2ff9da2c79d3b6 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 8c5b8018f69226389a1373523c41cd37883c9556 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 abf5ccc29c45d53ec17541179bb5f0a75b28915d 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 9dcfecb7c6c8285630ad271888a9ec4ba9140e3a 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 96fe90f5356971e0e51a0bc41e045dde600d7521 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 65bff161ffab1310719bdee495d1e9b35f838c31 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 71ebcb85b931f43865df5b322b2cf06d3da23f69.

Backport of 976bd519a879b2fd7a356cb21bde32696adb545f 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 1f07da3e29c7c3d47968e1c4531dd9bf902575b7 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 d27085b02d58ecf8b72e7189b6a5feaf634ec977 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 e542e81b39e8610b70cf1d68f95ece0279028765.

Backport of d6a907478345b6b2fe259a2fe70e6d29676f1a7e 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 ee66d8dd7df8326c453fd04c2bdeb5225df934be 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 230d8c7301281176a31443a2f4f425828291e46d 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 3db3ab71e97d34260057a6f51d4b2f72da30dc8d 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 6c95b134e9b2d5641c123551c080305e90e6a89d 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 b971c1cd78a0bf831c1c30080089c4a384d037a0 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 914167abf19d16ac97c0f1f6ae1b08cb377c8f3a 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 3543fec3b739864c52de0a116dde3b0e5e885799 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 6afa6818fcf25665bbf61f0921c8c8c6fa8f223e 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 b215a3ab63d1c34746855594656e988561484fe3 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 58195f0b16999245ada6bd010b71c9c5352ae608 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 2eb5589a721488b592ed05d6790d9ad7d2b9dafd 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 35355a4ffedb2aeed52d5fe3034380ffc6a438db 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 061801e3dfb3f88550cdaeef1a6dd1c24c13d53d 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 8d1a001ef6dcbbe8053da05cdb3ec99965b0953f 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 a3a6def867c61d24dfded6cbfef7f820409dc739 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 dfa81bb1df81637be333e9a67120a1670703a941 from master
2015-09-24 08:02:06 -04:00