mirror of https://github.com/jumpserver/jumpserver
fix: 修复导出账号历史翻译信息
parent
927251902c
commit
0747cf7c5e
|
@ -135,8 +135,15 @@ class AccountHistorySerializer(serializers.ModelSerializer):
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = Account.history.model
|
model = Account.history.model
|
||||||
fields = ['id', 'secret', 'secret_type', 'version', 'history_date', 'history_user']
|
fields = [
|
||||||
|
'id', 'secret', 'secret_type', 'version', 'history_date',
|
||||||
|
'history_user'
|
||||||
|
]
|
||||||
read_only_fields = fields
|
read_only_fields = fields
|
||||||
|
extra_kwargs = {
|
||||||
|
'history_user': {'label': _('User')},
|
||||||
|
'history_date': {'label': _('Date')},
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
class AccountTaskSerializer(serializers.Serializer):
|
class AccountTaskSerializer(serializers.Serializer):
|
||||||
|
|
Loading…
Reference in New Issue