class documentation
class SingleObjectTemplateResponseMixin(TemplateResponseMixin): (source)
Known subclasses: django.views.generic.CreateView
, django.views.generic.DateDetailView
, django.views.generic.DeleteView
, django.views.generic.DetailView
, django.views.generic.UpdateView
Undocumented
Method | get |
Return a list of template names to be used for the request. May not be called if render_to_response() is overridden. Return the following list: |
Class Variable | template |
Undocumented |
Class Variable | template |
Undocumented |
Inherited from TemplateResponseMixin
:
Method | render |
Return a response, using the `response_class` for this view, with a template rendered with the given context. |
Class Variable | content |
Undocumented |
Class Variable | template |
Undocumented |
Class Variable | template |
Undocumented |
Return a list of template names to be used for the request. May not be called if render_to_response() is overridden. Return the following list: * the value of ``template_name`` on the view (if provided) * the contents of the ``template_name_field`` field on the object instance that the view is operating upon (if available) * ``<app_label>/<model_name><template_name_suffix>.html``
overridden in
django.views.generic.CreateView
, django.views.generic.DateDetailView
, django.views.generic.DeleteView
, django.views.generic.UpdateView
Undocumented