showing VMS

This commit is contained in:
Levi 2017-04-29 12:51:30 -05:00
parent 3e755b3b68
commit 4ec830550c

View file

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