mirror of
https://github.com/django/django.git
synced 2025-10-27 07:36:08 +00:00
Refs #23919 -- Removed most of remaining six usage
Thanks Tim Graham for the review.
This commit is contained in:
@@ -2,7 +2,6 @@ import collections
|
||||
import warnings
|
||||
from math import ceil
|
||||
|
||||
from django.utils import six
|
||||
from django.utils.functional import cached_property
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
@@ -99,7 +98,7 @@ class Paginator(object):
|
||||
Returns a 1-based range of pages for iterating through within
|
||||
a template for loop.
|
||||
"""
|
||||
return six.moves.range(1, self.num_pages + 1)
|
||||
return range(1, self.num_pages + 1)
|
||||
|
||||
def _check_object_list_is_ordered(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user