[1.5.x] Fixed #21240 -- Added 1.5 release note for OneToOneField/select_related change.
Thanks marcin at sokrates.pl. Backport of ba63b9895b from master
This commit is contained in:
parent
b41540f156
commit
402967f49c
@ -709,6 +709,10 @@ Miscellaneous
|
|||||||
escapes its ``contents`` argument. To avoid the HTML escaping, use
|
escapes its ``contents`` argument. To avoid the HTML escaping, use
|
||||||
:func:`django.utils.safestring.mark_safe` on the argument before passing it.
|
: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
|
Features deprecated in 1.5
|
||||||
==========================
|
==========================
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user