add subtitle like a description
This commit is contained in:
parent
dc11fb055f
commit
f929c096bc
|
|
@ -38,6 +38,7 @@ class NewsSerializer(serializers.ModelSerializer):
|
||||||
'template': self.get_template(data),
|
'template': self.get_template(data),
|
||||||
'title': self.get_title(data),
|
'title': self.get_title(data),
|
||||||
'description': self.get_description(data),
|
'description': self.get_description(data),
|
||||||
|
'subtitle': self.get_description(data),
|
||||||
'country': self.get_country(data),
|
'country': self.get_country(data),
|
||||||
})
|
})
|
||||||
data.pop('country_code')
|
data.pop('country_code')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user