Changes between Initial Version and Version 1 of Ticket #28943


Ignore:
Timestamp:
Dec 18, 2017, 9:00:58 PM (7 years ago)
Author:
James Pic
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28943 – Description

    initial v1  
    44
    55TemplateView.render_to_response() should call its ContextMixin.get_context_data() method automatically is because TemplateView inherits from both TemplateResponseMixin, and ContextMixin which provides the get_context_data() method.
     6
     7Currently, the workaround is to call TemplateResponse.get(request, *args, **kwargs), but users should really be calling what they mean to do instead: super().render_to_response()
Back to Top