aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests/test_serializer.py
diff options
context:
space:
mode:
authorXavier Ordoquy2014-03-06 16:43:30 +0100
committerXavier Ordoquy2014-03-06 16:43:30 +0100
commitde899824b8352912d2a0d2fa030b8e5a053a3ae5 (patch)
treee237cb5ce8820060735c8f8920b293975884ad83 /rest_framework/tests/test_serializer.py
parent9e291879d1705dea18131fc66be31e422afa1e62 (diff)
downloaddjango-rest-framework-de899824b8352912d2a0d2fa030b8e5a053a3ae5.tar.bz2
Forgot to add the ref field to the field list.
Diffstat (limited to 'rest_framework/tests/test_serializer.py')
-rw-r--r--rest_framework/tests/test_serializer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/tests/test_serializer.py b/rest_framework/tests/test_serializer.py
index 17ef191a..56714d1e 100644
--- a/rest_framework/tests/test_serializer.py
+++ b/rest_framework/tests/test_serializer.py
@@ -161,7 +161,7 @@ class AlbumsSerializer(serializers.ModelSerializer):
class Meta:
model = Album
- fields = ['title'] # lists are also valid options
+ fields = ['title', 'ref'] # lists are also valid options
class PositiveIntegerAsChoiceSerializer(serializers.ModelSerializer):