showing VMS
This commit is contained in:
parent
3e755b3b68
commit
4ec830550c
1 changed files with 1 additions and 0 deletions
|
@ -381,6 +381,7 @@ class VirtualMachinesPlanListView(LoginRequiredMixin, ListView):
|
||||||
ordering = '-id'
|
ordering = '-id'
|
||||||
|
|
||||||
def get_queryset(self):
|
def get_queryset(self):
|
||||||
|
print(HostingManageVMAdmin.show_vms(self.request))
|
||||||
user = self.request.user
|
user = self.request.user
|
||||||
self.queryset = VirtualMachinePlan.objects.active(user)
|
self.queryset = VirtualMachinePlan.objects.active(user)
|
||||||
return super(VirtualMachinesPlanListView, self).get_queryset()
|
return super(VirtualMachinesPlanListView, self).get_queryset()
|
||||||
|
|
Loading…
Reference in a new issue