mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-10-30 23:47:53 +03:00 
			
		
		
		
	Update pagination.md
Fixed 2 missing spaces in Custom Pagination snippet
This commit is contained in:
		
							parent
							
								
									60b9e58a12
								
							
						
					
					
						commit
						11e5851196
					
				|  | @ -226,8 +226,8 @@ Suppose we want to replace the default pagination output style with a modified f | ||||||
|         def get_paginated_response(self, data): |         def get_paginated_response(self, data): | ||||||
|             return Response({ |             return Response({ | ||||||
|                 'links': { |                 'links': { | ||||||
|                    'next': self.get_next_link(), |                     'next': self.get_next_link(), | ||||||
|                    'previous': self.get_previous_link() |                     'previous': self.get_previous_link() | ||||||
|                 }, |                 }, | ||||||
|                 'count': self.page.paginator.count, |                 'count': self.page.paginator.count, | ||||||
|                 'results': data |                 'results': data | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user