mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-10-31 07:57:55 +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): | ||||
|             return Response({ | ||||
|                 'links': { | ||||
|                    'next': self.get_next_link(), | ||||
|                    'previous': self.get_previous_link() | ||||
|                     'next': self.get_next_link(), | ||||
|                     'previous': self.get_previous_link() | ||||
|                 }, | ||||
|                 'count': self.page.paginator.count, | ||||
|                 'results': data | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user