Skip to content
Snippets Groups Projects
Commit 25ab1d4f authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

I should run the test suite before commit

parent b5e657c4
No related branches found
No related tags found
No related merge requests found
......@@ -286,10 +286,10 @@ class ShowSerializer(serializers.HyperlinkedModelSerializer):
instance.language.set(validated_data.get('language', instance.language))
instance.topic.set(validated_data.get('topic', instance.topic))
# TODO: replace `musicfocs` with `music_focus` when the dashboard in updated
instance.music_focus.set(validated_data.get('musicfocus', instance.musicfocus))
instance.music_focus.set(validated_data.get('musicfocus', instance.music_focus))
instance.type = validated_data.get('type', instance.type)
# TODO: replace `fundingcategory` with `funding_category` when the dashboard is updated
instance.funding_category = validated_data.get('fundingcategory', instance.fundingcategory)
instance.funding_category = validated_data.get('fundingcategory', instance.funding_category)
instance.predecessor = validated_data.get('predecessor', instance.predecessor)
instance.is_active = validated_data.get('is_active', instance.is_active)
instance.is_public = validated_data.get('is_public', instance.is_public)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment