adding list vm
This commit is contained in:
		
					parent
					
						
							
								767a5fc5da
							
						
					
				
			
			
				commit
				
					
						e99be51de1
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -412,8 +412,8 @@ class VirtualMachinesPlanListView(LoginRequiredMixin, ListView): | ||||||
|     ordering = '-id' |     ordering = '-id' | ||||||
| 
 | 
 | ||||||
|     def get_queryset(self): |     def get_queryset(self): | ||||||
|         # hosting_admin = HostingManageVMAdmin.__new__(HostingManageVMAdmin) |         hosting_admin = HostingManageVMAdmin.__new__(HostingManageVMAdmin) | ||||||
|         # print(hosting_admin.show_vms(self.request)) |         print(hosting_admin.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…
	
	Add table
		Add a link
		
	
		Reference in a new issue