fix
This commit is contained in:
parent
f36713ab02
commit
89f8fcf73e
|
|
@ -189,7 +189,7 @@ 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, 'blank': False}
|
'locale_to_description_is_active': {'allow_null': False, 'allow_blank': False}
|
||||||
}
|
}
|
||||||
|
|
||||||
def create(self, validated_data):
|
def create(self, validated_data):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user