class_docstr: Chart public functions
class_docstr_tok: ["Chart","public","functions"]
docstr: Render the graph, and return a Django response
docstr_tok: ["Render","the","graph",",","and","return","a","Django","response"]
code: def render_django_response(self, **kwargs):
      """Render the graph, and return a Django response"""
      from django.http import HttpResponse
  
      return HttpResponse(
          self.render(**kwargs), content_type="image/svg+xml"
      )
  
imports: import base64
  import io
  from pygal._compat import is_list_like
  from pygal.graph.base import BaseGraph
label_desc: Use image node_id 10 for calling the PublicApi obj's underlying member method code with example usage: obj.render_django_response() and returns: HttpResponse