Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body If UnaryOpNot NameLoad body Return Str Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIn Str SubscriptLoad AttributeLoad NameLoad attr Index Str body Return Str Return Str decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults Str Str vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad keyword Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body FunctionDef arguments args NameParam NameParam defaults kwarg body Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body FunctionDef arguments args NameParam NameParam defaults kwarg body Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad NameLoad body FunctionDef arguments args NameParam NameParam defaults body If CompareEq Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str body Return Call AttributeLoad NameLoad attr NameLoad orelse Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A xmltodict django.http HttpResponse django.views.generic TemplateView django.views.generic.detail BaseDetailView django.views.generic.detail SingleObjectTemplateResponseMixin cdata N/A N/A data N/A N/A N/A N/A data N/A N/A N/A N/A N/A <!CDATA[ {0} ]]> format data N/A response_mimetype N/A N/A request N/A N/A N/A N/A application/xml N/A N/A request META N/A HTTP_ACCEPT N/A N/A application/xml N/A text/plain N/A XMLResponse N/A HttpResponse N/A N/A XML response class.
    takes a python dict and returns a XML string
    obj = {
        'results':
            {
                '@val': '1',
                'name': '3',
                '#text': 'sometext',
                'items': {'item': ['1', '2', '3']}
            }
    }
    in to --->
    <?xml version="1.0" encoding="utf-8"?>
    <results val="1">
        <name>3</name>
        <items>
           <item>1</item>
           <item>2</item>
           <item>3</item>
        </items>
        sometext
    </results>
     __init__ N/A N/A self obj mimetype N/A application/xml args kwargs N/A N/A content N/A N/A xmltodict unparse obj N/A N/A N/A N/A super XMLResponse self __init__ content mimetype args kwargs N/A N/A XMLResponseMixin N/A object N/A N/A 
    A mixin that can be used to render a XML response.
     render_to_xml_response N/A N/A self context N/A response_kwargs N/A N/A 
        Returns a XML response, transforming 'context' to make the payload.
         N/A N/A HttpResponse N/A N/A self convert_context_to_xml context content_type application/xml response_kwargs N/A convert_context_to_xml N/A N/A self context N/A N/A N/A Convert the context dictionary into a XML object N/A N/A N/A xmltodict unparse context N/A N/A XMLView N/A XMLResponseMixin TemplateView N/A render_to_response N/A N/A self context N/A response_kwargs N/A N/A N/A N/A self render_to_xml_response context response_kwargs N/A N/A XMLDetailView N/A XMLResponseMixin BaseDetailView N/A render_to_response N/A N/A self context N/A response_kwargs N/A N/A N/A N/A self render_to_xml_response context response_kwargs N/A N/A HybridDetailView N/A XMLResponseMixin SingleObjectTemplateResponseMixin BaseDetailView N/A render_to_response N/A N/A self context N/A N/A N/A N/A N/A N/A N/A N/A self request GET get format xml N/A N/A N/A N/A self render_to_xml_response context N/A N/A N/A N/A N/A super HybridDetailView self render_to_response context N/A N/A