Paginate invoice list view by 10 items on each page
This commit is contained in:
		
					parent
					
						
							
								5987962414
							
						
					
				
			
			
				commit
				
					
						92b2504f1e
					
				
			
		
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -1162,6 +1162,7 @@ class InvoiceListView(LoginRequiredMixin, ListView): | |||
|     login_url = reverse_lazy('hosting:login') | ||||
|     context_object_name = "invoices" | ||||
|     model = MonthlyHostingBill | ||||
|     paginate_by = 10 | ||||
|     ordering = '-created' | ||||
| 
 | ||||
|     def get_context_data(self, **kwargs): | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue