1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Revert "Fixed #23088 -- Used six range type in Paginator.page_range."

This reverts commit 6508db2ff9.

Refs #23088.
This commit is contained in:
Florian Apolloner
2014-08-03 21:08:24 +02:00
parent 6e77acc589
commit 40fb6a5601
2 changed files with 1 additions and 8 deletions

View File

@@ -96,7 +96,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)
page_range = property(_get_page_range)