django/django — pull request #229 by zedr (2012-07-24 19:55:10+00:00)
Title: Fixes an error when using MultipleObjectTemplateResponseMixin.render_to_response() while subclassing a BaseListView

This solves a bug relative to the use of MultipleObjectTemplateResponseMixin.render_to_response() while subclassing BaseListView, raising a TypeError Exception ("__init__() got an unexpected keyword argument 'request'")

The signature of django.template.response.TemplateResponse does not match the way it's invoked.
See:
https://github.com/django/django/blob/master/django/template/response.py#L141