Ticket #7963: upload_handling.diff
File upload_handling.diff, 1.0 KB (added by , 16 years ago) |
---|
-
docs/upload_handling.txt
79 79 In practice, it's often easiest simply to use ``chunks()`` all the time; 80 80 see the example below. 81 81 82 ``UploadedFile. file_name``82 ``UploadedFile.name`` 83 83 The name of the uploaded file (e.g. ``my_file.txt``). 84 84 85 ``UploadedFile. file_size``85 ``UploadedFile.size`` 86 86 The size, in bytes, of the uploaded file. 87 87 88 88 There are a few other methods and attributes available on ``UploadedFile`` … … 169 169 Returns ``True`` if you can expect more than one chunk when calling 170 170 ``UploadedFile.chunks(self, chunk_size)``. 171 171 172 ``UploadedFile. file_size``172 ``UploadedFile.size`` 173 173 The size, in bytes, of the uploaded file. 174 174 175 ``UploadedFile. file_name``175 ``UploadedFile.name`` 176 176 The name of the uploaded file as provided by the user. 177 177 178 178 ``UploadedFile.content_type``