Module ImportFrom alias ImportFrom alias alias alias ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Str NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str Delete SubscriptDel NameLoad Index Str Delete SubscriptDel NameLoad Index Str Delete SubscriptDel NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Return NameLoad orelse Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Return NameLoad decorator_list Assign NameStore Call NameLoad Lambda arguments args NameParam defaults AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Delete SubscriptDel NameLoad Index Str Delete SubscriptDel NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Return NameLoad orelse Return Call NameLoad AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr decorator_list decorator_list
N/A django.http HttpResponse django.template loader Context RequestContext ContentNotRenderedError N/A Exception N/A N/A N/A SimpleTemplateResponse N/A HttpResponse N/A __init__ N/A N/A self template context mimetype status content_type N/A None None None None N/A N/A N/A self template_name template N/A N/A self context_data context N/A N/A self _is_rendered False N/A N/A self _post_render_callbacks N/A N/A N/A N/A N/A super SimpleTemplateResponse self __init__ mimetype status content_type N/A __getstate__ N/A N/A self N/A N/A N/A Pickling support function.

        Ensures that the object can't be pickled before it has been
        rendered, and that the pickled state only includes rendered
        data, not the data used to construct the response.
         N/A obj_dict N/A N/A N/A self __dict__ copy N/A N/A N/A self _is_rendered N/A N/A N/A ContentNotRenderedError The response content must be rendered before it can be pickled. N/A N/A obj_dict N/A template_name N/A N/A obj_dict N/A context_data N/A N/A obj_dict N/A _post_render_callbacks N/A obj_dict N/A resolve_template N/A N/A self template N/A N/A N/A Accepts a template object, path-to-template or list of paths N/A N/A isinstance template N/A list tuple N/A N/A N/A N/A loader select_template template N/A N/A N/A isinstance template basestring N/A N/A N/A N/A loader get_template template N/A N/A template N/A resolve_context N/A N/A self context N/A N/A N/A Convert context data into a full Context object
        (assuming it isn't already a Context object).
         N/A N/A isinstance context Context N/A N/A context N/A N/A N/A Context context N/A rendered_content N/A N/A self N/A N/A N/A Returns the freshly rendered content for the template and context
        described by the TemplateResponse.

        This *does not* set the final content of the response. To set the
        response content, you must either call render(), or set the
        content explicitly using the value of this property.
         N/A template N/A N/A self resolve_template N/A self template_name N/A context N/A N/A self resolve_context N/A self context_data N/A content N/A N/A template render context N/A content N/A property add_post_render_callback N/A N/A self callback N/A N/A N/A Add a new post-rendering callback.

        If the response has already been rendered, invoke the callback immediately.
         N/A N/A self _is_rendered N/A N/A N/A callback self N/A N/A N/A N/A N/A self _post_render_callbacks append callback N/A render N/A N/A self N/A N/A N/A Render (thereby finalizing) the content of the response.

        If the content has already been rendered, this is a no-op.

        Returns the baked response instance.
         N/A N/A N/A self _is_rendered N/A N/A N/A N/A self _set_content N/A self rendered_content N/A post_callback N/A self _post_render_callbacks N/A N/A N/A post_callback self N/A self N/A N/A is_rendered N/A property N/A N/A N/A self N/A N/A self _is_rendered __iter__ N/A N/A self N/A N/A N/A N/A N/A self _is_rendered N/A N/A N/A ContentNotRenderedError The response content must be rendered before it can be iterated over. N/A N/A N/A N/A super SimpleTemplateResponse self __iter__ N/A _get_content N/A N/A self N/A N/A N/A N/A N/A self _is_rendered N/A N/A N/A ContentNotRenderedError The response content must be rendered before it can be accessed. N/A N/A N/A N/A super SimpleTemplateResponse self _get_content N/A _set_content N/A N/A self value N/A N/A N/A Sets the content for the response N/A N/A N/A N/A super SimpleTemplateResponse self _set_content value N/A N/A self _is_rendered True N/A N/A content N/A property _get_content _set_content N/A TemplateResponse N/A SimpleTemplateResponse N/A __init__ N/A N/A self request template context mimetype status content_type current_app N/A None None None None None N/A N/A N/A self _request request N/A N/A self _current_app current_app N/A N/A N/A N/A super TemplateResponse self __init__ template context mimetype status content_type N/A __getstate__ N/A N/A self N/A N/A N/A Pickling support function.

        Ensures that the object can't be pickled before it has been
        rendered, and that the pickled state only includes rendered
        data, not the data used to construct the response.
         N/A obj_dict N/A N/A N/A super TemplateResponse self __getstate__ N/A N/A obj_dict N/A _request N/A N/A obj_dict N/A _current_app N/A obj_dict N/A resolve_context N/A N/A self context N/A N/A N/A Convert context data into a full RequestContext object
        (assuming it isn't already a Context object).
         N/A N/A isinstance context Context N/A N/A context N/A N/A N/A RequestContext N/A self _request context current_app N/A self _current_app N/A N/A