コード例 #1
0
def scan_host(modeladmin, request, queryset):
    for host in queryset:
        scan_host_key(host.hostname)
コード例 #2
0
def save_host(sender, instance, created, *args, **kwargs):
    if created:
        scan_host_key(instance.hostname)
コード例 #3
0
def scan_host(modeladmin, request, queryset):
    for host in queryset:
        scan_host_key(host.hostname)
コード例 #4
0
def save_host(sender, instance, created, *args, **kwargs):
    if created:
        scan_host_key(instance.hostname)