Florian Apolloner
316bc3fc94
Fixed a settings leak possibility in the date template filter.
...
This is a security fix.
2015-11-24 11:20:29 -05:00
George Marshall
710e11d076
Fixed #25767 -- Fixed data truncation possibility with Positive(Small)IntegerField on MySQL.
2015-11-24 11:09:15 -05:00
Tim Graham
e07def14b8
Refs #25786 -- Added tests/release notes for set_FOO_order() crash with order_with_respect_to referencing OneToOneField pk.
...
Forwardport of 6d9f061b07
from stable/1.8.x
The issue was fixed by 7bec480fe2
.
2015-11-23 11:33:13 -05:00
Simon Charette
6d03bc14e7
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:
django/db/models/deletion.py
tests/delete/tests.py
Forward port of 7c3ef19978
from stable/1.8.x
2015-11-22 23:20:33 -05:00
Tim Graham
54e2e688e1
Fixed #25715 -- Fixed Model.refresh_from_db() with ForeignKey w/on_delete=SET_NULL.
2015-11-21 10:34:01 -05:00
Dmitry Dygalo
263b3d2ba1
Fixed #25666 -- Fixed the exact lookup of ArrayField.
2015-11-14 11:21:16 -05:00
Tim Graham
34bb6c0cb7
Refs #24937 -- Forwardport of 1.8.7 release note.
...
Forwardport of 3ded51bcf2
from stable/1.8.x
2015-11-11 16:58:47 -05:00
Marti Raudsepp
d3e3703a15
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.
2015-11-11 08:56:10 -05:00
Tim Graham
4c593eaa5f
Updated six to 1.10.0.
2015-11-10 22:05:48 -05:00
Ian Foote
4608573788
Fixed #25693 -- Prevented data loss with Prefetch and ManyToManyField.
...
Thanks to Jamie Matthews for finding and explaining the bug.
2015-11-10 12:12:07 -05:00
Tim Graham
dbbae2cead
Refs #25618 -- Forwardported 1.8.7 release note.
...
Forwardport of 8c8a6d8a3f
from stable/1.8.x
2015-11-10 10:42:32 -05:00
Marti Raudsepp
1155843a41
Fixed #25683 -- Allowed ModelChoiceField(queryset=...) to accept Managers.
...
This fixes a regression from refs #25496 .
2015-11-09 12:42:36 -05:00
Tim Graham
c6da4b0c68
Refs #25686 -- Forwardported 1.8.7 release note.
2015-11-09 10:58:48 -05:00
Aymeric Augustin
1014ba026e
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.
2015-11-07 23:17:33 +01:00
Tim Graham
d49b36e485
Added stub release notes for 1.8.7.
2015-11-05 09:22:12 +01:00