diff options
| author | Tom Christie | 2014-11-26 11:38:48 +0000 |
|---|---|---|
| committer | Tom Christie | 2014-11-26 11:38:48 +0000 |
| commit | 786cab705a37f6b2196560d0e476e5c849420a61 (patch) | |
| tree | 17d7b4f195b6926cf45e5ca06aa4a453cbf9a28b /rest_framework | |
| parent | 5a5a73c7fef49899a37721e6c68228ef605e11f8 (diff) | |
| download | django-rest-framework-786cab705a37f6b2196560d0e476e5c849420a61.tar.bz2 | |
Tweak to 3.0 relationship docs
Diffstat (limited to 'rest_framework')
| -rw-r--r-- | rest_framework/relations.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rest_framework/relations.py b/rest_framework/relations.py index 5a3403f5..d1ea497a 100644 --- a/rest_framework/relations.py +++ b/rest_framework/relations.py @@ -321,7 +321,9 @@ class ManyRelatedField(Field): The `ManyRelatedField` class is responsible for handling iterating through the values and passing each one to the child relationship. - You shouldn't need to be using this class directly yourself. + This class is treated as private API. + You shouldn't generally need to be using this class directly yourself, + and should instead simply set 'many=True' on the relationship. """ initial = [] default_empty_html = [] |
