diff options
| author | Tom Christie | 2013-02-06 12:48:08 +0000 |
|---|---|---|
| committer | Tom Christie | 2013-02-06 12:48:08 +0000 |
| commit | 691a8f682dcd1e5e839ce36ac259f08ba9a2e216 (patch) | |
| tree | 24134765a9e50607f72881154e4ddffe3521df7b | |
| parent | 4788c87b76782b828d4c504e8a5deab4e07ebcd4 (diff) | |
| download | django-rest-framework-691a8f682dcd1e5e839ce36ac259f08ba9a2e216.tar.bz2 | |
Note on turning off implicit many behavior. Refs #564.
| -rw-r--r-- | docs/topics/2.2-release-notes.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/topics/2.2-release-notes.md b/docs/topics/2.2-release-notes.md index 32b3ad8c..ab1ab0c5 100644 --- a/docs/topics/2.2-release-notes.md +++ b/docs/topics/2.2-release-notes.md @@ -71,6 +71,8 @@ This more explicit behavior on serializing and deserializing data [makes integra The implicit to-many behavior on serializers, and the `ManyRelatedField` style classes will continue to function, but will raise a `PendingDeprecationWarning`, which can be made visible using the `-Wd` flag. +**Note**: If you need to forcibly turn off the implict "`many=True` for `__iter__` objects" behavior, you can now do so by specifying `many=False`. This will become the default (instead of the current default of `None`) once the deprecation of the implicit behavior is finalised in version 2.4. + ### Cleaner optional relationships Serializer relationships for nullable Foreign Keys will change from using the current `null=True` flag, to instead using `required=False`. |
