Module ImportFrom alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias Assign NameStore TupleLoad Str Str Str Str Assign NameStore Str Assign NameStore BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign AttributeStore NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore BoolOpOr AttributeLoad NameLoad attr Num Assert CompareGtE AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AugAssignSub AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AugAssignAdd AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body TryFinally body For NameStore NameLoad body Expr Yield NameLoad finalbody Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad vararg kwarg body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body ImportFrom alias If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr UnaryOpNot AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults kwarg body Expr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str ListLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str Call NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Lambda arguments args NameParam defaults Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Lambda arguments args NameParam defaults BoolOpAnd Call NameLoad NameLoad Str Call NameLoad AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad orelse If BoolOpAnd UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad body For NameStore NameLoad body If Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr ListComp Call NameLoad NameLoad comprehension NameStore ListLoad BinOpMod Str NameLoad BinOpMod Str NameLoad Str NameLoad orelse Expr Call AttributeLoad NameLoad attr ListComp Call NameLoad NameLoad comprehension NameStore ListLoad BinOpMod Str NameLoad BinOpMod Str NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Call NameLoad BinOpMod Str NameLoad Str Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Lambda arguments args NameParam defaults Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Num If CompareIs NameLoad NameLoad body Assign NameStore Str Return ListLoad Call NameLoad BinOpMod Str NameLoad Call NameLoad BinOpMod Str TupleLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call NameLoad BinOpMod Str NameLoad Str Call AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults kwarg body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str TupleLoad Num Num Call NameLoad Str Call NameLoad Str AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIs NameLoad NameLoad body Return Call NameLoad NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num orelse Assign NameStore AttributeLoad NameLoad attr Return Call NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num If SubscriptLoad NameLoad Index Num body AugAssignAdd NameStore BinOpAdd Call NameLoad Str Call NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Dict kwarg body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore BoolOpOr Call NameLoad NameLoad keyword NameLoad Call NameLoad SubscriptLoad NameLoad Index Num If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Assign NameStore Dict Str Str Str Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Dict NameLoad kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Assign NameStore Dict Str Str Str Str Str Str Call NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Dict kwarg body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore BoolOpOr Call NameLoad NameLoad keyword NameLoad Call NameLoad SubscriptLoad NameLoad Index Num If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Assign NameStore Dict Str Str Str Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str Str kwarg body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str Str kwarg body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str Str kwarg body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str Str kwarg body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str Str kwarg body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Dict Str Str Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Dict Str Str Str Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad If NameLoad body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Dict decorator_list Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str TryFinally body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body If CompareNotEq AttributeLoad NameLoad attr TupleLoad Str body Raise If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str ListLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str If BoolOpAnd AttributeLoad NameLoad attr CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return NameLoad finalbody Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr keyword Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Dict NameLoad kwarg body Expr Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Dict NameLoad NameLoad kwarg body Expr Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Dict NameLoad kwarg body Expr Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str Str NameLoad kwarg body Expr Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str Str NameLoad kwarg body Expr Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str Str NameLoad kwarg body Expr Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Str Str NameLoad kwarg body Expr Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call NameLoad NameLoad If BoolOpAnd NameLoad AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str Str Str Str NameLoad Str AttributeLoad NameLoad attr BoolOpOr AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr NameLoad Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Assign AttributeStore NameLoad attr ListLoad While CompareIn AttributeLoad NameLoad attr TupleLoad Num Num Num Num body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr keyword NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIn SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Slice Num Num body Break Return NameLoad decorator_list decorator_list
N/A __future__ unicode_literals N/A sys N/A os N/A re N/A mimetypes copy copy io BytesIO django.conf settings django.contrib.auth authenticate login logout get_user_model django.core.handlers.base BaseHandler django.core.handlers.wsgi WSGIRequest django.core.signals request_started request_finished got_request_exception django.db close_old_connections django.http SimpleCookie HttpRequest QueryDict django.template TemplateDoesNotExist django.test signals django.utils.functional curry django.utils.encoding force_bytes force_str django.utils.http urlencode django.utils.importlib import_module django.utils.itercompat is_iterable django.utils six django.utils.six.moves.urllib.parse unquote urlparse urlsplit django.test.utils ContextList N/A __all__ N/A Client RequestFactory encode_file encode_multipart N/A BOUNDARY BoUnDaRyStRiNg N/A MULTIPART_CONTENT N/A multipart/form-data; boundary=%s BOUNDARY N/A CONTENT_TYPE_RE N/A N/A re compile .*; charset=([\w\d-]+);? FakePayload N/A object N/A N/A 
    A wrapper around BytesIO that restricts what can be read since data from
    the network can't be seeked and cannot be read outside of its content
    length. This makes sure that views can't do anything under the test client
    that wouldn't work in Real Life.
     __init__ N/A N/A self content N/A None N/A N/A N/A self __content N/A BytesIO N/A N/A self __len 0 N/A N/A self read_started False N/A N/A content None N/A N/A N/A N/A self write content N/A __len__ N/A N/A self N/A N/A N/A N/A self __len N/A read N/A N/A self num_bytes N/A None N/A N/A N/A N/A self read_started N/A N/A N/A N/A N/A self __content seek 0 N/A N/A self read_started True N/A N/A num_bytes None N/A N/A num_bytes N/A N/A self __len 0 N/A N/A N/A self __len num_bytes Cannot read more than the available bytes from the HTTP incoming data. N/A content N/A N/A N/A self __content read num_bytes N/A N/A self __len num_bytes N/A content N/A write N/A N/A self content N/A N/A N/A N/A self read_started N/A N/A N/A ValueError Unable to write a payload after he's been read N/A content N/A force_bytes content N/A N/A N/A N/A self __content write content N/A N/A self __len N/A len content N/A N/A closing_iterator_wrapper N/A N/A iterable close N/A N/A N/A N/A N/A item iterable N/A N/A N/A item N/A N/A N/A N/A request_finished disconnect close_old_connections N/A N/A close N/A N/A N/A request_finished connect close_old_connections N/A ClientHandler N/A BaseHandler N/A N/A 
    A HTTP Handler that can be used for testing purposes.
    Uses the WSGI interface to compose requests, but returns
    the raw HttpResponse object
     __init__ N/A N/A self enforce_csrf_checks N/A True args kwargs N/A N/A N/A self enforce_csrf_checks enforce_csrf_checks N/A N/A N/A N/A super ClientHandler self __init__ args kwargs N/A __call__ N/A N/A self environ N/A N/A django.conf settings N/A N/A N/A self _request_middleware None N/A N/A N/A N/A self load_middleware N/A N/A N/A request_started disconnect close_old_connections N/A N/A N/A request_started send sender N/A self __class__ N/A N/A N/A request_started connect close_old_connections N/A request N/A WSGIRequest environ N/A N/A request _dont_enforce_csrf_checks N/A N/A self enforce_csrf_checks N/A response N/A N/A self get_response request N/A N/A response streaming N/A N/A N/A response streaming_content N/A closing_iterator_wrapper N/A response streaming_content N/A response close N/A N/A N/A N/A request_finished disconnect close_old_connections N/A N/A N/A response close N/A N/A N/A request_finished connect close_old_connections N/A response N/A N/A store_rendered_templates N/A N/A store signal sender template context N/A kwargs N/A N/A 
    Stores templates and contexts that are rendered.

    The context is copied so that it is an accurate representation at the time
    of rendering.
     N/A N/A N/A N/A N/A store setdefault templates N/A append template N/A N/A N/A N/A N/A store setdefault context N/A ContextList append N/A copy context N/A encode_multipart N/A N/A boundary data N/A N/A N/A 
    Encodes multipart POST data from a dictionary of form values.

    The key will be used as the form data name; the value will be transmitted
    as content. If the value is a file, the contents of the file will be sent
    as an application/octet-stream; otherwise, str(value) will be sent.
     N/A lines N/A N/A to_bytes N/A N/A N/A s N/A N/A force_bytes s N/A settings DEFAULT_CHARSET N/A is_file N/A N/A N/A thing N/A N/A N/A hasattr thing read N/A callable N/A thing read N/A N/A key value N/A N/A data items N/A N/A N/A is_file value N/A N/A N/A N/A lines extend N/A encode_file boundary key value N/A N/A N/A N/A N/A isinstance value N/A six string_types N/A is_iterable value N/A N/A item value N/A N/A N/A is_file item N/A N/A N/A N/A lines extend N/A encode_file boundary key item N/A N/A N/A N/A lines extend N/A N/A to_bytes val N/A val N/A N/A --%s boundary N/A Content-Disposition: form-data; name="%s" key item N/A N/A N/A N/A lines extend N/A N/A to_bytes val N/A val N/A N/A --%s boundary N/A Content-Disposition: form-data; name="%s" key value N/A N/A N/A lines extend N/A N/A to_bytes N/A --%s-- boundary N/A N/A N/A join lines N/A encode_file N/A N/A boundary key file N/A N/A N/A to_bytes N/A N/A N/A s N/A N/A force_bytes s N/A settings DEFAULT_CHARSET N/A content_type N/A N/A N/A mimetypes guess_type N/A file name N/A 0 N/A N/A content_type None N/A N/A content_type application/octet-stream N/A N/A N/A to_bytes N/A --%s boundary N/A to_bytes N/A Content-Disposition: form-data; name="%s"; filename="%s" N/A key N/A N/A N/A os path basename N/A file name N/A to_bytes N/A Content-Type: %s content_type N/A N/A file read N/A RequestFactory N/A object N/A N/A 
    Class that lets you create mock Request objects for use in testing.

    Usage:

    rf = RequestFactory()
    get_request = rf.get('/hello/')
    post_request = rf.post('/submit/', {'foo': 'bar'})

    Once you have a request object you can pass it to any view function,
    just as if that view had been hooked up using a URLconf.
     __init__ N/A N/A self N/A defaults N/A N/A N/A self defaults defaults N/A N/A self cookies N/A SimpleCookie N/A N/A self errors N/A BytesIO N/A _base_environ N/A N/A self N/A request N/A N/A 
        The base environment for a request.
         N/A environ N/A HTTP_COOKIE PATH_INFO REMOTE_ADDR REQUEST_METHOD SCRIPT_NAME SERVER_NAME SERVER_PORT SERVER_PROTOCOL wsgi.version wsgi.url_scheme wsgi.input wsgi.errors wsgi.multiprocess wsgi.multithread wsgi.run_once N/A N/A N/A self cookies output header sep ;  N/A str / N/A str 127.0.0.1 N/A str GET N/A str N/A str testserver N/A str 80 N/A str HTTP/1.1 N/A 1 0 N/A str http N/A FakePayload N/A self errors True False False N/A N/A N/A environ update N/A self defaults N/A N/A N/A environ update request N/A environ N/A request N/A N/A self N/A request N/A N/A Construct a generic request object. N/A N/A WSGIRequest N/A N/A self _base_environ request N/A _encode_data N/A N/A self data content_type N/A N/A N/A N/A content_type MULTIPART_CONTENT N/A N/A N/A encode_multipart BOUNDARY data N/A N/A match N/A N/A CONTENT_TYPE_RE match content_type N/A match N/A N/A charset N/A N/A match group 1 N/A N/A charset N/A settings DEFAULT_CHARSET N/A N/A force_bytes data encoding charset N/A _get_path N/A N/A self parsed N/A N/A N/A path N/A force_str N/A parsed N/A 2 N/A N/A parsed N/A 3 N/A N/A path N/A N/A str ; N/A force_str N/A parsed N/A 3 N/A path N/A unquote path N/A N/A six PY3 N/A N/A path N/A N/A N/A N/A path encode utf-8 decode iso-8859-1 N/A path N/A get N/A N/A self path data N/A N/A extra N/A N/A Construct a GET request. N/A parsed N/A urlparse path N/A query_string N/A N/A urlencode data doseq True N/A force_str N/A parsed N/A 4 N/A N/A six PY3 N/A N/A query_string N/A N/A N/A N/A query_string encode utf-8 decode iso-8859-1 N/A r N/A PATH_INFO QUERY_STRING REQUEST_METHOD N/A N/A self _get_path parsed query_string N/A str GET N/A N/A N/A r update extra N/A N/A N/A self request r N/A post N/A N/A self path data content_type N/A N/A MULTIPART_CONTENT extra N/A N/A Construct a POST request. N/A post_data N/A N/A self _encode_data data content_type N/A parsed N/A urlparse path N/A query_string N/A force_str N/A parsed N/A 4 N/A N/A six PY3 N/A N/A query_string N/A N/A N/A N/A query_string encode utf-8 decode iso-8859-1 N/A r N/A CONTENT_LENGTH CONTENT_TYPE PATH_INFO QUERY_STRING REQUEST_METHOD wsgi.input N/A len post_data content_type N/A N/A self _get_path parsed query_string N/A str POST N/A FakePayload post_data N/A N/A N/A r update extra N/A N/A N/A self request r N/A head N/A N/A self path data N/A N/A extra N/A N/A Construct a HEAD request. N/A parsed N/A urlparse path N/A query_string N/A N/A urlencode data doseq True N/A force_str N/A parsed N/A 4 N/A N/A six PY3 N/A N/A query_string N/A N/A N/A N/A query_string encode utf-8 decode iso-8859-1 N/A r N/A PATH_INFO QUERY_STRING REQUEST_METHOD N/A N/A self _get_path parsed query_string N/A str HEAD N/A N/A N/A r update extra N/A N/A N/A self request r N/A options N/A N/A self path data content_type N/A application/octet-stream extra N/A N/A Construct an OPTIONS request. N/A N/A N/A self generic OPTIONS path data content_type extra N/A put N/A N/A self path data content_type N/A application/octet-stream extra N/A N/A Construct a PUT request. N/A N/A N/A self generic PUT path data content_type extra N/A patch N/A N/A self path data content_type N/A application/octet-stream extra N/A N/A Construct a PATCH request. N/A N/A N/A self generic PATCH path data content_type extra N/A delete N/A N/A self path data content_type N/A application/octet-stream extra N/A N/A Construct a DELETE request. N/A N/A N/A self generic DELETE path data content_type extra N/A generic N/A N/A self method path data content_type N/A application/octet-stream extra N/A N/A parsed N/A urlparse path N/A data N/A force_bytes data N/A settings DEFAULT_CHARSET N/A r N/A PATH_INFO REQUEST_METHOD N/A N/A self _get_path parsed N/A str method N/A data N/A N/A N/A N/A r update N/A CONTENT_LENGTH CONTENT_TYPE wsgi.input N/A len data N/A str content_type N/A FakePayload data N/A N/A N/A r update extra N/A N/A N/A N/A r get QUERY_STRING N/A N/A query_string N/A force_bytes N/A parsed N/A 4 N/A N/A six PY3 N/A N/A query_string N/A N/A query_string decode iso-8859-1 N/A N/A r N/A QUERY_STRING query_string N/A N/A N/A self request r N/A N/A Client N/A RequestFactory N/A N/A 
    A class that can act as a client for testing purposes.

    It allows the user to compose GET and POST requests, and
    obtain the response that the server gave to those requests.
    The server Response objects are annotated with the details
    of the contexts and templates that were rendered during the
    process of serving the request.

    Client objects are stateful - they will retain cookie (and
    thus session) details for the lifetime of the Client instance.

    This is not intended as a replacement for Twill/Selenium or
    the like - it is here to allow testing against the
    contexts and templates produced by a view, rather than the
    HTML rendered to the end-user.
     __init__ N/A N/A self enforce_csrf_checks N/A False defaults N/A N/A N/A N/A N/A super Client self __init__ defaults N/A N/A self handler N/A ClientHandler enforce_csrf_checks N/A N/A self exc_info None N/A store_exc_info N/A N/A self N/A kwargs N/A N/A 
        Stores exceptions when they are generated by a view.
         N/A N/A self exc_info N/A N/A sys exc_info N/A _session N/A N/A self N/A N/A N/A 
        Obtains the current session variables.
         N/A N/A django.contrib.sessions N/A settings INSTALLED_APPS N/A N/A engine N/A import_module N/A settings SESSION_ENGINE N/A cookie N/A N/A N/A self cookies get N/A settings SESSION_COOKIE_NAME None N/A cookie N/A N/A N/A N/A engine SessionStore N/A cookie value N/A N/A N/A N/A session N/A property _session request N/A N/A self N/A request N/A N/A 
        The master request method. Composes the environment dictionary
        and passes to the handler, returning the result of the handler.
        Assumes defaults for the query environment, which can be overridden
        using the arguments to the request.
         N/A environ N/A N/A self _base_environ request N/A data N/A N/A on_template_render N/A curry store_rendered_templates data N/A N/A N/A N/A signals template_rendered connect on_template_render dispatch_uid template-render N/A N/A N/A got_request_exception connect N/A self store_exc_info dispatch_uid request-exception N/A N/A N/A N/A N/A response N/A N/A self handler environ N/A N/A N/A TemplateDoesNotExist N/A e N/A N/A N/A N/A e args N/A 500.html N/A N/A N/A N/A self exc_info N/A N/A exc_info N/A self exc_info N/A N/A self exc_info None N/A N/A N/A six reraise exc_info N/A N/A response client self N/A N/A response request request N/A N/A response templates N/A N/A data get templates N/A N/A N/A response context N/A N/A data get context N/A N/A N/A response context N/A N/A len N/A response context 1 N/A N/A N/A response context N/A N/A response context N/A 0 N/A N/A response cookies N/A N/A N/A N/A N/A self cookies update N/A response cookies N/A response N/A N/A N/A N/A N/A signals template_rendered disconnect dispatch_uid template-render N/A N/A N/A got_request_exception disconnect dispatch_uid request-exception N/A get N/A N/A self path data follow N/A N/A False extra N/A N/A 
        Requests a response from the server using GET.
         N/A response N/A N/A N/A super Client self get path data data extra N/A follow N/A N/A response N/A N/A self _handle_redirects response extra N/A response N/A post N/A N/A self path data content_type follow N/A N/A MULTIPART_CONTENT False extra N/A N/A 
        Requests a response from the server using POST.
         N/A response N/A N/A N/A super Client self post path data data content_type content_type extra N/A follow N/A N/A response N/A N/A self _handle_redirects response extra N/A response N/A head N/A N/A self path data follow N/A N/A False extra N/A N/A 
        Request a response from the server using HEAD.
         N/A response N/A N/A N/A super Client self head path data data extra N/A follow N/A N/A response N/A N/A self _handle_redirects response extra N/A response N/A options N/A N/A self path data content_type follow N/A application/octet-stream False extra N/A N/A 
        Request a response from the server using OPTIONS.
         N/A response N/A N/A N/A super Client self options path data data content_type content_type extra N/A follow N/A N/A response N/A N/A self _handle_redirects response extra N/A response N/A put N/A N/A self path data content_type follow N/A application/octet-stream False extra N/A N/A 
        Send a resource to the server using PUT.
         N/A response N/A N/A N/A super Client self put path data data content_type content_type extra N/A follow N/A N/A response N/A N/A self _handle_redirects response extra N/A response N/A patch N/A N/A self path data content_type follow N/A application/octet-stream False extra N/A N/A 
        Send a resource to the server using PATCH.
         N/A response N/A N/A N/A super Client self patch path data data content_type content_type extra N/A follow N/A N/A response N/A N/A self _handle_redirects response extra N/A response N/A delete N/A N/A self path data content_type follow N/A application/octet-stream False extra N/A N/A 
        Send a DELETE request to the server.
         N/A response N/A N/A N/A super Client self delete path data data content_type content_type extra N/A follow N/A N/A response N/A N/A self _handle_redirects response extra N/A response N/A login N/A N/A self N/A credentials N/A N/A 
        Sets the Factory to appear as if it has successfully logged into a site.

        Returns True if login is possible; False if the provided credentials
        are incorrect, or the user is inactive, or if the sessions framework is
        not available.
         N/A user N/A authenticate credentials N/A N/A user N/A user is_active N/A django.contrib.sessions N/A settings INSTALLED_APPS N/A N/A engine N/A import_module N/A settings SESSION_ENGINE N/A request N/A HttpRequest N/A N/A self session N/A N/A N/A request session N/A self session N/A N/A N/A request session N/A N/A engine SessionStore N/A N/A login request user N/A N/A N/A N/A request session save N/A session_cookie N/A settings SESSION_COOKIE_NAME N/A N/A N/A self cookies N/A session_cookie N/A N/A request session session_key N/A cookie_data N/A max-age path domain secure expires None / N/A settings SESSION_COOKIE_DOMAIN N/A N/A settings SESSION_COOKIE_SECURE None None N/A N/A N/A N/A N/A self cookies N/A session_cookie update cookie_data N/A True N/A N/A False N/A logout N/A N/A self N/A N/A N/A 
        Removes the authenticated user's cookies and session object.

        Causes the authenticated user to be logged out.
         N/A request N/A HttpRequest N/A engine N/A import_module N/A settings SESSION_ENGINE N/A UserModel N/A get_user_model N/A N/A self session N/A N/A N/A request session N/A self session N/A uid N/A N/A N/A self session get _auth_user_id N/A uid N/A N/A N/A request user N/A N/A N/A UserModel _default_manager get pk uid N/A N/A N/A request session N/A N/A engine SessionStore N/A N/A logout request N/A N/A self cookies N/A SimpleCookie N/A _handle_redirects N/A N/A self response N/A extra N/A N/A Follows any redirects by requesting responses from the server using GET. N/A N/A response redirect_chain N/A N/A N/A N/A response status_code N/A 301 302 303 307 N/A N/A url N/A response url N/A redirect_chain N/A response redirect_chain N/A N/A N/A redirect_chain append N/A url N/A response status_code N/A url N/A urlsplit url N/A N/A url scheme N/A N/A N/A extra N/A wsgi.url_scheme N/A url scheme N/A N/A url hostname N/A N/A N/A extra N/A SERVER_NAME N/A url hostname N/A N/A url port N/A N/A N/A extra N/A SERVER_PORT N/A str N/A url port N/A response N/A N/A self get N/A url path N/A QueryDict N/A url query follow False extra N/A N/A response redirect_chain redirect_chain N/A N/A N/A N/A response redirect_chain N/A -1 N/A N/A response redirect_chain N/A 0 -1 N/A N/A N/A response N/A N/A