mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-11-04 09:57:55 +03:00 
			
		
		
		
	
						commit
						1359061789
					
				| 
						 | 
				
			
			@ -47,7 +47,7 @@ You can then apply your new style to a view using the `.pagination_class` attrib
 | 
			
		|||
 | 
			
		||||
    class BillingRecordsView(generics.ListAPIView):
 | 
			
		||||
        queryset = Billing.objects.all()
 | 
			
		||||
        serializer = BillingRecordsSerializer
 | 
			
		||||
        serializer_class = BillingRecordsSerializer
 | 
			
		||||
        pagination_class = LargeResultsSetPagination
 | 
			
		||||
 | 
			
		||||
Or apply the style globally, using the `DEFAULT_PAGINATION_CLASS` settings key. For example:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user