mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Removed versionadded/changed annotations for 1.8.
This commit is contained in:
parent
48e7787db5
commit
54848a96dd
74 changed files with 44 additions and 852 deletions
|
@ -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::
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue