Make invoicelistview not inherit OrderHostingListView
This commit is contained in:
		
					parent
					
						
							
								def5a3a011
							
						
					
				
			
			
				commit
				
					
						e843a6f857
					
				
			
		
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -1146,8 +1146,9 @@ class OrdersHostingListView(LoginRequiredMixin, ListView): | |||
|         return super(OrdersHostingListView, self).get(request, *args, **kwargs) | ||||
| 
 | ||||
| 
 | ||||
| class InvoiceListView(OrdersHostingListView): | ||||
| class InvoiceListView(LoginRequiredMixin, ListView): | ||||
|     template_name = "hosting/invoices.html" | ||||
|     login_url = reverse_lazy('hosting:login') | ||||
|     context_object_name = "invoices" | ||||
|     model = MonthlyHostingBill | ||||
|     ordering = '-created' | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue