1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

build new tree

This commit is contained in:
Retspen 2015-02-27 11:28:22 +02:00
parent 4d48e79341
commit dd5f98cbe8
22 changed files with 745 additions and 60 deletions

View file

@ -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())