Skip to content
Browse files

[1.5.x] Fixed #21240 -- Added 1.5 release note for OneToOneField/sele…

…ct_related change.

Thanks marcin at

Backport of ba63b98 from master
  • Loading branch information...
1 parent b41540f commit 402967f49c6ee5769c47e2df4699a0d5bd588c52 @timgraham timgraham committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 docs/releases/1.5.txt
4 docs/releases/1.5.txt
@@ -709,6 +709,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

0 comments on commit 402967f

Please sign in to comment.
Something went wrong with that request. Please try again.