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

PaginatedListView changes and minor bug fix to an error message #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jsoa
Copy link

@jsoa jsoa commented Oct 1, 2010

Main thing here is that I moved the functionality of PaginatedListView to ListView as I don't see a reason for these to be separate. The PaginatedListView, when paginate_by is set to None or 0 would act just like a ListView anyway.

The pagination for the ListView is optional. Only when paginate_by is set to something other than None or 0, will it be paginated.

The other commit was a minor issue when raising a Http404 error, it would return django.utils.functional.lazy.__proxy__ instead of the model's verbose_name_plural when verbose_name_plural isn't specified in the _meta class.

jose soares added 2 commits October 1, 2010 10:45
…s an option. This way the default date based list views can be paginated as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant