  
  # TODO: Support URLconf kwarg-style paging
  
  
  class PageField(serializers.Field):
      page_field = 'page'
  
  
  class NextPageField(PageField):
      """
      Field that returns a link to the next page in paginated results.
      """
      def to_native(self, value):
          if not value.has_next():
 
</s> remove class PreviousPageField(PageField):
 </s> add class PreviousPageField(serializers.Field):
class NextPageField(serializers.Field):
  
  # TODO: Support URLconf kwarg-style paging
  
  
class NextPageField(serializers.Field):
class NextPageField(serializers.Field):
class NextPageField(serializers.Field):
class NextPageField(serializers.Field):
class NextPageField(serializers.Field):
      """
      Field that returns a link to the next page in paginated results.
      """
      def to_native(self, value):
          if not value.has_next():
keep keep keep keep replace replace replace replace replace keep keep keep keep keep
 Simplify NextPageField and PreviousPageField slightly 
rest_framework/pagination.py