aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Ordoquy2014-05-01 01:24:48 +0200
committerXavier Ordoquy2014-05-01 01:24:48 +0200
commit38362bb43a19c287319ccfe0538ce5524f09c633 (patch)
treec610a1d2678954974220b11fb4bfbf5c77407671
parent7475fceacc5bc94fde6212937685ef69ae79c751 (diff)
downloaddjango-rest-framework-38362bb43a19c287319ccfe0538ce5524f09c633.tar.bz2
Fixed new default for many
-rw-r--r--rest_framework/tests/test_genericrelations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/tests/test_genericrelations.py b/rest_framework/tests/test_genericrelations.py
index 46a2d863..3a8f3c7f 100644
--- a/rest_framework/tests/test_genericrelations.py
+++ b/rest_framework/tests/test_genericrelations.py
@@ -84,7 +84,7 @@ class TestGenericRelations(TestCase):
exclude = ('content_type', 'object_id')
class BookmarkSerializer(serializers.ModelSerializer):
- tags = TagSerializer()
+ tags = TagSerializer(many=True)
class Meta:
model = Bookmark