class TemplateResponse

from django.template.response import TemplateResponse


  

Ancestors (MRO)

  1. builtins.object
  2. django.http.response.HttpResponseBase
  3. django.http.response.HttpResponse
  4. django.template.response.SimpleTemplateResponse
  5. django.template.response.TemplateResponse
AttributeTypeDefined in
__dict__ getset_descriptor django.http.response.HttpResponseBase
__weakref__ getset_descriptor django.http.response.HttpResponseBase
charset property django.http.response.HttpResponseBase
reason_phrase property django.http.response.HttpResponseBase
content property django.template.response.SimpleTemplateResponse
content property django.http.response.HttpResponse
AttributeValueDefined in
rendering_attrs ['template_name', 'context_data', '_post_render_callbacks', '_request'] django.template.response.TemplateResponse
rendering_attrs ['template_name', 'context_data', '_post_render_callbacks'] django.template.response.SimpleTemplateResponse
status_code 200 django.http.response.HttpResponseBase
streaming False django.http.response.HttpResponse
def __bytes__(self)
django.http.response.HttpResponse
def __contains__(self, header)
django.http.response.HttpResponseBase
def __delitem__(self, header)
django.http.response.HttpResponseBase
def __getitem__(self, header)
django.http.response.HttpResponseBase
def __getstate__(self)
django.template.response.SimpleTemplateResponse
def __init__(self, request, template, context=None, content_type=None, status=None, charset=None, using=None, headers=None)
django.template.response.TemplateResponse
def __iter__(self)
django.template.response.SimpleTemplateResponse
def __repr__(self)
django.http.response.HttpResponse
def __setitem__(self, header, value)
django.http.response.HttpResponseBase
def add_post_render_callback(self, callback)
django.template.response.SimpleTemplateResponse
def close(self)
django.http.response.HttpResponseBase
def delete_cookie(self, key, path='/', domain=None, samesite=None)
django.http.response.HttpResponseBase
def flush(self)
django.http.response.HttpResponseBase
def get(self, header, alternate=None)
django.http.response.HttpResponseBase
def getvalue(self)
django.http.response.HttpResponse
def has_header(self, header)
django.http.response.HttpResponseBase
def is_rendered(self)
django.template.response.SimpleTemplateResponse
def items(self)
django.http.response.HttpResponseBase
def make_bytes(self, value)
django.http.response.HttpResponseBase
def readable(self)
django.http.response.HttpResponseBase
def render(self)
django.template.response.SimpleTemplateResponse
def rendered_content(self)
django.template.response.SimpleTemplateResponse
def resolve_context(self, context)
django.template.response.SimpleTemplateResponse
def resolve_template(self, template)
django.template.response.SimpleTemplateResponse
def seekable(self)
django.http.response.HttpResponseBase
def serialize(self)
django.http.response.HttpResponse
def serialize_headers(self)
django.http.response.HttpResponseBase
def set_cookie(self, key, value='', max_age=None, expires=None, path='/', domain=None, secure=False, httponly=False, samesite=None)
django.http.response.HttpResponseBase
def set_signed_cookie(self, key, value, salt='', **kwargs)
django.http.response.HttpResponseBase
def setdefault(self, key, value)
django.http.response.HttpResponseBase
def tell(self)
django.http.response.HttpResponse
def writable(self)
django.http.response.HttpResponse
def write(self, content)
django.http.response.HttpResponse
def writelines(self, lines)
django.http.response.HttpResponse