Kaydet (Commit) ba63b989 authored tarafından Tim Graham's avatar Tim Graham

Fixed #21240 -- Added 1.5 release note for OneToOneField/select_related change.

Thanks marcin at sokrates.pl.
üst ffdae5b6
......@@ -711,6 +711,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
==========================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment