mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
build new tree
This commit is contained in:
parent
4d48e79341
commit
dd5f98cbe8
22 changed files with 745 additions and 60 deletions
|
|
@ -26,7 +26,7 @@ def instances(request):
|
|||
"""
|
||||
|
||||
if not request.user.is_authenticated():
|
||||
return HttpResponseRedirect(reverse('login'))
|
||||
return HttpResponseRedirect(reverse('index'))
|
||||
|
||||
computes = Compute.objects.filter()
|
||||
all_host_vms = {}
|
||||
|
|
@ -50,6 +50,6 @@ def instance(request, comptes_id, vname):
|
|||
"""
|
||||
|
||||
if not request.user.is_authenticated():
|
||||
return HttpResponseRedirect(reverse('login'))
|
||||
return HttpResponseRedirect(reverse('index'))
|
||||
|
||||
return render(request, 'instances.html', locals())
|
||||
Loading…
Add table
Add a link
Reference in a new issue