[1.9.x] Fixed #25715 -- Fixed Model.refresh_from_db() with ForeignKey w/on_delete=SET_NULL.

Backport of 54e2e688e1 from master
This commit is contained in:
Tim Graham 2015-11-20 10:31:33 -05:00
parent 0adbac4943
commit 8727dc8e95
4 changed files with 16 additions and 1 deletions

View file

@ -36,3 +36,6 @@ Bugfixes
:class:`~django.contrib.postgres.fields.DateTimeRangeField` (:ticket:`24937`).
* Fixed the exact lookup of ``ArrayField`` (:ticket:`25666`).
* Fixed ``Model.refresh_from_db()`` updating of ``ForeignKey`` fields with
``on_delete=models.SET_NULL`` (:ticket:`25715`).