Ticket #14504: 14504.diff

File 14504.diff, 552 bytes (added by seanbrant, 5 years ago)
  • django/views/generic/list.py

     
    7777        """
    7878        Get the context for this view.
    7979        """
    80         queryset = kwargs.get('object_list')
     80        queryset = kwargs.pop('object_list')
    8181        page_size = self.get_paginate_by(queryset)
    8282        if page_size:
    8383            paginator, page, queryset, is_paginated = self.paginate_queryset(queryset, page_size)
Back to Top