Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…ct_related change.

Thanks marcin at sokrates.pl.

Backport of ba63b98 from master
  • Loading branch information...
commit 402967f49c6ee5769c47e2df4699a0d5bd588c52 1 parent b41540f
@timgraham timgraham authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 docs/releases/1.5.txt
View
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
==========================
Please sign in to comment.
Something went wrong with that request. Please try again.