def index(request): temp_name = "setup/setup-header.html" all_host = Host.objects.all() all_group = HostGroup.objects.all() all_scripts = get_scripts(scripts_dir) return render_to_response('setup/shell.html', locals(), RequestContext(request))
def index(request): all_host = Asset.objects.all() all_group = HostGroup.objects.all() all_scripts = get_scripts(scripts_dir) return render(request, 'setup/shell.html', locals())
def index(request): temp_name = "setup/setup-header.html" all_host = Host.objects.all() all_group = HostGroup.objects.all() all_scripts = get_scripts(scripts_dir) return render(request, 'setup/shell.html', locals())