mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixes #14873 -- A paginated ListView with a List instead of queryset produces an error.
Additional minor change in functionality: the page is now not considered paginated if the objects do not span multiple pages according to the paginator. This will only affect views with a custom paginator method which uses orphans. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -98,6 +98,8 @@ urlpatterns = patterns('',
|
||||
# ListView
|
||||
(r'^list/dict/$',
|
||||
views.DictList.as_view()),
|
||||
(r'^list/dict/paginated/$',
|
||||
views.DictList.as_view(paginate_by=1)),
|
||||
url(r'^list/authors/$',
|
||||
views.AuthorList.as_view(),
|
||||
name="authors_list"),
|
||||
|
||||
Reference in New Issue
Block a user