              return None
  
          url = self.request.build_absolute_uri()
          offset = self.offset + self.limit
          return replace_query_param(url, self.offset_query_param, offset)
  
      def get_previous_link(self):
          if self.offset <= 0:
 
</s>
        url = replace_query_param(url, self.limit_query_param, self.limit)

              return None
  
          url = self.request.build_absolute_uri()
        url = replace_query_param(url, self.limit_query_param, self.limit)

          offset = self.offset + self.limit
          return replace_query_param(url, self.offset_query_param, offset)
  
      def get_previous_link(self):
          if self.offset <= 0:
keep keep add keep keep keep keep keep
 Include correct limits in LimitOffsetPagination link urls
rest_framework/pagination.py