mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-25 06:21:58 +00:00
终端 批量更新 数据必填
This commit is contained in:
parent
aeb43a04f6
commit
473a66719b
@ -55,6 +55,11 @@ class TerminalSerializer(BulkModelSerializer):
|
||||
fields = fields_small + fields_fk
|
||||
read_only_fields = ['type', 'date_created']
|
||||
|
||||
extra_kwargs = {
|
||||
'command_storage': {'required': True, },
|
||||
'replay_storage': {'required': True, },
|
||||
}
|
||||
|
||||
@staticmethod
|
||||
def get_kwargs_may_be_uuid(value):
|
||||
kwargs = {}
|
||||
|
Loading…
Reference in New Issue
Block a user