Module ImportFrom alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpAnd Call NameLoad Call AttributeLoad NameLoad attr Str NameLoad Call NameLoad SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body If CompareNotEq Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad SubscriptLoad NameLoad Index Str attr Str body Return Call NameLoad Return Call NameLoad Str orelse Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr Str body Continue If CompareNotIn BinOpAdd NameLoad Str NameLoad body Continue Assign NameStore SubscriptLoad NameLoad Index BinOpAdd NameLoad Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr attr orelse Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad attr If CompareNotEq NameLoad NameLoad body Return Call NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Return Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr attr NameLoad body Return Call NameLoad Assign NameStore NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return NameLoad orelse Return Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore DictComp NameLoad AttributeLoad NameLoad attr comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr Str decorator_list Assign NameStore DictComp NameLoad Call NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Call NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Call NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Call NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Return Call NameLoad BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore NameLoad Index NameLoad DictComp NameLoad Call NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad Str body Expr AttributeLoad NameLoad attr Return Call NameLoad Str decorator_list
N/A __future__ unicode_literals N/A contextlib N/A hashlib N/A json N/A os django.core.files.uploadedfile UploadedFile django.http HttpResponse HttpResponseServerError django.utils six django.utils.encoding force_bytes smart_str models FileModel tests UNICODE_FILENAME UPLOAD_TO uploadhandler ErroringUploadHandler QuotaUploadHandler file_upload_view N/A N/A request N/A N/A N/A 
    Check that a file upload can be updated into the POST dictionary without
    going pear-shaped.
     N/A form_data N/A N/A N/A request POST copy N/A N/A N/A form_data update N/A request FILES N/A N/A N/A isinstance N/A N/A form_data get file_field UploadedFile N/A isinstance N/A form_data N/A name N/A six text_type N/A N/A N/A N/A N/A N/A os path dirname N/A N/A form_data N/A file_field name N/A N/A N/A HttpResponseServerError N/A N/A HttpResponse N/A N/A N/A HttpResponseServerError N/A file_upload_view_verify N/A N/A request N/A N/A N/A 
    Use the sha digest hash to verify the uploaded contents.
     N/A form_data N/A N/A N/A request POST copy N/A N/A N/A form_data update N/A request FILES N/A N/A key value N/A N/A form_data items N/A N/A N/A N/A key endswith _hash N/A N/A N/A N/A N/A key _hash form_data N/A N/A N/A submitted_hash N/A form_data N/A N/A key _hash N/A N/A isinstance value UploadedFile N/A N/A new_hash N/A N/A N/A N/A hashlib sha1 N/A N/A value read hexdigest N/A N/A new_hash N/A N/A N/A N/A hashlib sha1 N/A force_bytes value hexdigest N/A N/A new_hash submitted_hash N/A N/A N/A HttpResponseServerError N/A largefile N/A N/A request FILES N/A file_field2 N/A obj N/A FileModel N/A N/A N/A N/A obj testfile save N/A largefile name largefile N/A N/A HttpResponse N/A file_upload_unicode_name N/A N/A request N/A N/A N/A N/A N/A N/A N/A N/A N/A request FILES N/A file_unicode name endswith UNICODE_FILENAME N/A N/A N/A HttpResponseServerError N/A response None N/A uni_named_file N/A N/A request FILES N/A file_unicode N/A obj N/A N/A N/A FileModel objects create testfile uni_named_file N/A full_name N/A %s/%s N/A UPLOAD_TO N/A uni_named_file name N/A N/A N/A N/A N/A os path exists full_name N/A N/A response N/A HttpResponseServerError N/A N/A N/A obj delete N/A N/A N/A os unlink full_name N/A response N/A N/A response N/A N/A N/A HttpResponse N/A file_upload_echo N/A N/A request N/A N/A N/A 
    Simple view to echo back info about uploaded files for tests.
     N/A r N/A k N/A f name N/A N/A k f N/A N/A N/A request FILES items N/A N/A HttpResponse N/A N/A json dumps r N/A file_upload_echo_content N/A N/A request N/A N/A N/A 
    Simple view to echo back the content of uploaded files for tests.
     read_and_close N/A N/A f N/A N/A N/A N/A N/A contextlib closing f N/A N/A N/A N/A N/A N/A f read decode utf-8 N/A N/A r N/A k N/A read_and_close f N/A N/A k f N/A N/A N/A request FILES items N/A N/A HttpResponse N/A N/A json dumps r N/A file_upload_quota N/A N/A request N/A N/A N/A 
    Dynamically add in an upload handler.
     N/A N/A N/A N/A request upload_handlers insert 0 N/A QuotaUploadHandler N/A N/A file_upload_echo request N/A file_upload_quota_broken N/A N/A request N/A N/A N/A 
    You can't change handlers after reading FILES; this view shouldn't work.
     N/A response N/A file_upload_echo request N/A N/A N/A N/A request upload_handlers insert 0 N/A QuotaUploadHandler N/A response N/A file_upload_getlist_count N/A N/A request N/A N/A N/A 
    Check the .getlist() function to ensure we receive the correct number of files.
     N/A file_counts N/A N/A key N/A N/A N/A request FILES keys N/A N/A N/A file_counts N/A key N/A len N/A N/A N/A request FILES getlist key N/A N/A HttpResponse N/A N/A json dumps file_counts N/A file_upload_errors N/A N/A request N/A N/A N/A N/A N/A N/A request upload_handlers insert 0 N/A ErroringUploadHandler N/A N/A file_upload_echo request N/A file_upload_filename_case_view N/A N/A request N/A N/A N/A 
    Check adding the file to the database will preserve the filename case.
     N/A file N/A N/A request FILES N/A file_field N/A obj N/A FileModel N/A N/A N/A N/A obj testfile save N/A file name file N/A N/A HttpResponse N/A %d N/A obj pk N/A file_upload_content_type_extra N/A N/A request N/A N/A N/A 
    Simple view to echo back extra content-type parameters.
     N/A params N/A N/A N/A file_name uploadedfile N/A N/A N/A request FILES items N/A N/A N/A params N/A file_name N/A k N/A smart_str v N/A N/A k v N/A N/A N/A uploadedfile content_type_extra items N/A N/A HttpResponse N/A N/A json dumps params N/A file_upload_fd_closing N/A N/A request access N/A N/A N/A N/A access t N/A N/A N/A request FILES N/A N/A HttpResponse N/A