summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-11-18 09:32:25 -0500
committerTim Graham <timograham@gmail.com>2013-11-18 09:33:53 -0500
commit2b03d53438e7d54f754c58d8f148254a7a73ef5c (patch)
tree6451828c2764856065c1f143495fffec10746990 /docs
parenta776e3f42088a5a82bd0ec9c5353981a1a23e10c (diff)
[1.6.x] Fixed #21240 -- Added 1.5 release note for OneToOneField/select_related change.
Thanks marcin at sokrates.pl. Backport of ba63b9895b from master
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.5.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/1.5.txt b/docs/releases/1.5.txt
index a738f4d7fd..cd12ca8e56 100644
--- a/docs/releases/1.5.txt
+++ b/docs/releases/1.5.txt
@@ -710,6 +710,10 @@ Miscellaneous
escapes its ``contents`` argument. To avoid the HTML escaping, use
:func:`django.utils.safestring.mark_safe` on the argument before passing it.
+* Accessing reverse one-to-one relations fetched via
+ :meth:`~django.db.models.query.QuerySet.select_related` now raises
+ :exc:`~django.core.exceptions.DoesNotExist` instead of returning ``None``.
+
Features deprecated in 1.5
==========================