summaryrefslogtreecommitdiff
path: root/docs/topics/db/examples
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-09-12 16:27:30 -0400
committerTim Graham <timograham@gmail.com>2015-09-23 19:31:11 -0400
commit54848a96dd4a196e81f3d71c61caf84ea8b49f4e (patch)
tree0fe3e51fc3f783adc69c46bb0313514f207f71ab /docs/topics/db/examples
parent48e7787db599b0103daf70f0ff4968d90b8540aa (diff)
Removed versionadded/changed annotations for 1.8.
Diffstat (limited to 'docs/topics/db/examples')
-rw-r--r--docs/topics/db/examples/many_to_one.txt7
-rw-r--r--docs/topics/db/examples/one_to_one.txt7
2 files changed, 0 insertions, 14 deletions
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::