Commit de899824 by Xavier Ordoquy

Forgot to add the ref field to the field list.

parent 9e291879
...@@ -161,7 +161,7 @@ class AlbumsSerializer(serializers.ModelSerializer): ...@@ -161,7 +161,7 @@ class AlbumsSerializer(serializers.ModelSerializer):
class Meta: class Meta:
model = Album model = Album
fields = ['title'] # lists are also valid options fields = ['title', 'ref'] # lists are also valid options
class PositiveIntegerAsChoiceSerializer(serializers.ModelSerializer): class PositiveIntegerAsChoiceSerializer(serializers.ModelSerializer):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment