From 54848a96dd4a196e81f3d71c61caf84ea8b49f4e Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sat, 12 Sep 2015 16:27:30 -0400 Subject: Removed versionadded/changed annotations for 1.8. --- docs/topics/db/examples/many_to_one.txt | 7 ------- docs/topics/db/examples/one_to_one.txt | 7 ------- 2 files changed, 14 deletions(-) (limited to 'docs/topics/db/examples') diff --git a/docs/topics/db/examples/many_to_one.txt b/docs/topics/db/examples/many_to_one.txt index efa5c37f3b..93cc3f093f 100644 --- a/docs/topics/db/examples/many_to_one.txt +++ b/docs/topics/db/examples/many_to_one.txt @@ -60,13 +60,6 @@ raises ``ValueError``:: ... ValueError: save() prohibited to prevent data loss due to unsaved related object 'reporter'. -.. versionchanged:: 1.8.4 - - Previously, saving an object with unsaved related objects did not raise an - error and could result in silent data loss. In 1.8-1.8.3, unsaved model - instances couldn't be assigned to related fields, but this restriction was - removed to allow easier usage of in-memory models. - Article objects have access to their related Reporter objects:: >>> r = a.reporter diff --git a/docs/topics/db/examples/one_to_one.txt b/docs/topics/db/examples/one_to_one.txt index 8eb003b167..dbf46fc079 100644 --- a/docs/topics/db/examples/one_to_one.txt +++ b/docs/topics/db/examples/one_to_one.txt @@ -101,13 +101,6 @@ raises ``ValueError``:: ... ValueError: save() prohibited to prevent data loss due to unsaved related object 'place'. -.. versionchanged:: 1.8.4 - - Previously, saving an object with unsaved related objects did not raise an - error and could result in silent data loss. In 1.8-1.8.3, unsaved model - instances couldn't be assigned to related fields, but this restriction was - removed to allow easier usage of in-memory models. - Restaurant.objects.all() just returns the Restaurants, not the Places. Note that there are two restaurants - Ace Hardware the Restaurant was created in the call to r.place = p2:: -- cgit v1.3