Merge branch 'v3' of github.com:jumpserver/jumpserver into v3

This commit is contained in:
ibuler
2022-11-17 20:49:31 +08:00
27 changed files with 158 additions and 141 deletions

View File

@@ -107,6 +107,9 @@ class AppletHostDeployment(JMSBaseModel):
comment = models.TextField(default='', blank=True, verbose_name=_('Comment'))
task = models.UUIDField(null=True, verbose_name=_('Task'))
class Meta:
ordering = ('-date_start',)
def start(self, **kwargs):
from ...automations.deploy_applet_host import DeployAppletHostManager
manager = DeployAppletHostManager(self)