bo creation & modification news info

This commit is contained in:
Kuroshini 2019-12-20 14:32:01 +03:00
parent 769a71b5eb
commit 8e20424b78

View File

@ -189,8 +189,12 @@ class NewsBackOfficeBaseSerializer(NewsBaseSerializer):
'must_of_the_week',
'publication_date',
'publication_time',
'created',
'modified',
)
extra_kwargs = {
'created': {'read_only': True},
'modified': {'read_only': True},
'duplication_date': {'read_only': True},
'locale_to_description_is_active': {'allow_null': False},
'must_of_the_week': {'read_only': True},