must of the week is compulsory argument for news creation now
This commit is contained in:
parent
a8003dc1cc
commit
44c2616efe
|
|
@ -190,7 +190,8 @@ class NewsBackOfficeBaseSerializer(NewsBaseSerializer):
|
||||||
extra_kwargs = {
|
extra_kwargs = {
|
||||||
'backoffice_title': {'allow_null': False},
|
'backoffice_title': {'allow_null': False},
|
||||||
'duplication_date': {'read_only': True},
|
'duplication_date': {'read_only': True},
|
||||||
'locale_to_description_is_active': {'allow_null': False}
|
'locale_to_description_is_active': {'allow_null': False},
|
||||||
|
'must_of_the_week': {'allow_null': False},
|
||||||
}
|
}
|
||||||
|
|
||||||
def create(self, validated_data):
|
def create(self, validated_data):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user