Forgot to add the ref field to the field list.

This commit is contained in:
Xavier Ordoquy 2014-03-06 16:43:30 +01:00
parent 9e291879d1
commit de899824b8

View File

@ -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):