except NameError:
from sets import Set as set
from django import template
-from django.db.models.query import QuerySet
from django.core.paginator import Paginator, InvalidPage
from django.conf import settings
if len(first.intersection(current)) == 0:
first_list = list(first)
first_list.sort()
- second_list = list(second)
+ second_list = list(current)
second_list.sort()
pages.extend(first_list)
diff = second_list[0] - first_list[-1]
from setuptools import setup, find_packages
-version = '1.0.2'
+version = '1.0.4'
LONG_DESCRIPTION = """
How to use django-pagination
"""
setup(
- name='pagination',
+ name='django-pagination',
version=version,
description="django-pagination",
long_description=LONG_DESCRIPTION,
keywords='pagination,django',
author='Eric Florenzano',
author_email='floguy@gmail.com',
- url='http://www.eflorenzano.com/',
+ url='http://django-pagination.googlecode.com/',
license='BSD',
packages=find_packages(),
include_package_data=True,