  
  from django.utils import six
  from django.utils.functional import cached_property
  
  
  class UnorderedObjectListWarning(RuntimeWarning):
      pass
  
  
 
</s> remove                 raise EmptyPage('That page contains no results')
 </s> add                 raise EmptyPage(_('That page contains no results')) </s> remove             raise PageNotAnInteger('That page number is not an integer')
 </s> add             raise PageNotAnInteger(_('That page number is not an integer')) </s> remove             raise EmptyPage('That page number is less than 1')
 </s> add             raise EmptyPage(_('That page number is less than 1'))
from django.utils.translation import ugettext_lazy as _
  
  from django.utils import six
  from django.utils.functional import cached_property
from django.utils.translation import ugettext_lazy as _
  
  
  class UnorderedObjectListWarning(RuntimeWarning):
      pass
  
  
keep keep add keep keep keep keep keep keep
 Refs #27505 -- Made Paginator's exception messsages translatable. 
django/core/paginator.py