fix: 统一为中文简体
parent
5b54ffcfed
commit
944ba01661
|
|
@ -27,7 +27,7 @@ class FunctionField(serializers.Field):
|
|||
|
||||
def to_internal_value(self, data):
|
||||
if not callable(data):
|
||||
self.fail('不是一個函數', value=data)
|
||||
self.fail('不是一个函數', value=data)
|
||||
return data
|
||||
|
||||
def to_representation(self, value):
|
||||
|
|
|
|||
Loading…
Reference in New Issue