Commit b25bc58b authored by Okhin's avatar Okhin
Browse files

Ajout du champ und_score au Serializer d'Article

parent 654b3e26
Pipeline #2575 passed with stages
in 3 minutes and 42 seconds
......@@ -37,7 +37,7 @@ class ArticleSerializer(serializers.ModelSerializer):
class Meta:
model = Article
fields = ('id', 'url', 'title', 'tags', 'extracts', 'status',
'und_score_up', 'und_score_down')
'und_score_up', 'und_score_down', 'und_score')
def create(self, validated_data):
article = Article.add_new_url(**validated_data)
Supports Markdown
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