mirror of https://github.com/jumpserver/jumpserver
Merge pull request #10693 from O-Jiangweidong/pr@dev@perf_ftp_log_field_same_as_session
perf: 字段含义和Session model保持一致pull/10698/head
commit
c271d3276a
|
@ -14,7 +14,7 @@ class Migration(migrations.Migration):
|
|||
migrations.AddField(
|
||||
model_name='ftplog',
|
||||
name='has_file',
|
||||
field=models.BooleanField(default=False, verbose_name='File Record'),
|
||||
field=models.BooleanField(default=False, verbose_name='File'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ftplog',
|
||||
|
|
|
@ -58,7 +58,7 @@ class FTPLog(OrgModelMixin):
|
|||
filename = models.CharField(max_length=1024, verbose_name=_("Filename"))
|
||||
is_success = models.BooleanField(default=True, verbose_name=_("Success"))
|
||||
date_start = models.DateTimeField(auto_now_add=True, verbose_name=_("Date start"))
|
||||
has_file = models.BooleanField(default=False, verbose_name=_("File Record"))
|
||||
has_file = models.BooleanField(default=False, verbose_name=_("File"))
|
||||
session = models.CharField(max_length=36, verbose_name=_("Session"), default=uuid.uuid4)
|
||||
|
||||
class Meta:
|
||||
|
|
|
@ -1964,10 +1964,6 @@ msgstr "操作"
|
|||
msgid "Filename"
|
||||
msgstr "ファイル名"
|
||||
|
||||
#: audits/models.py:61
|
||||
msgid "File Record"
|
||||
msgstr ""
|
||||
|
||||
#: audits/models.py:62 terminal/backends/command/models.py:24
|
||||
#: terminal/models/session/replay.py:9 terminal/models/session/sharing.py:18
|
||||
#: terminal/models/session/sharing.py:81
|
||||
|
|
|
@ -1953,10 +1953,6 @@ msgstr "操作"
|
|||
msgid "Filename"
|
||||
msgstr "文件名"
|
||||
|
||||
#: audits/models.py:61
|
||||
msgid "File Record"
|
||||
msgstr ""
|
||||
|
||||
#: audits/models.py:62 terminal/backends/command/models.py:24
|
||||
#: terminal/models/session/replay.py:9 terminal/models/session/sharing.py:18
|
||||
#: terminal/models/session/sharing.py:81
|
||||
|
|
Loading…
Reference in New Issue