Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fjlib.py uses ObjectPaginator instead of Paginator #28

Open
GoogleCodeExporter opened this issue Jan 8, 2016 · 0 comments
Open

fjlib.py uses ObjectPaginator instead of Paginator #28

GoogleCodeExporter opened this issue Jan 8, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

The ObjectPaginator utility has been removed completely from the most
modern versions of Django.  In preparation for the official release of
Django 1.0, I would switch to Paginator.  Maybe you could do something like...

{{{
try:
    from django.core.paginator import Paginator
except ImportError:
    from django.core.paginator import ObjectPaginator as Paginator
}}}

...to help maintain a little backwards compatibility.

Original issue reported on code.google.com by [email protected] on 12 Aug 2008 at 8:59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant