class TemplateResponseMixin:
Known subclasses: django.views.generic.detail.SingleObjectTemplateResponseMixin
, django.views.generic.list.MultipleObjectTemplateResponseMixin
, django.views.generic.FormView
, django.views.generic.TemplateView
Method | get_template_names |
Return a list of template names to be used for the request. Must return a list. May not be called if render_to_response() is overridden. |
Method | render_to_response |
Return a response, using the response_class for this view, with a template rendered with the given context. |
Class Variable | content_type |
Undocumented |
Class Variable | template_engine |
Undocumented |
Class Variable | template_name |
Undocumented |
django.views.generic.detail.SingleObjectTemplateResponseMixin
, django.views.generic.list.MultipleObjectTemplateResponseMixin
Return a response, using the response_class
for this view, with a
template rendered with the given context.
Pass response_kwargs to the constructor of the response class.