mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #28719 -- Added a helpful exception if MultipleObjectTemplateResponseMixin doesn't generate any template names.
This commit is contained in:
committed by
Tim Graham
parent
a2851f204c
commit
ac6a4eb9f9
@@ -132,6 +132,10 @@ urlpatterns = [
|
||||
path('list/authors/context_object_name/', views.AuthorList.as_view(context_object_name='author_list')),
|
||||
path('list/authors/dupe_context_object_name/', views.AuthorList.as_view(context_object_name='object_list')),
|
||||
path('list/authors/invalid/', views.AuthorList.as_view(queryset=None)),
|
||||
path(
|
||||
'list/authors/get_queryset/',
|
||||
views.AuthorListGetQuerysetReturnsNone.as_view(),
|
||||
),
|
||||
path(
|
||||
'list/authors/paginated/custom_class/',
|
||||
views.AuthorList.as_view(paginate_by=5, paginator_class=views.CustomPaginator),
|
||||
|
||||
Reference in New Issue
Block a user