Ticket #7963: upload_handling.diff

File upload_handling.diff, 1.0 KB (added by cgod, 16 years ago)
  • docs/upload_handling.txt

     
    7979        In practice, it's often easiest simply to use ``chunks()`` all the time;
    8080        see the example below.
    8181
    82     ``UploadedFile.file_name``
     82    ``UploadedFile.name``
    8383        The name of the uploaded file (e.g. ``my_file.txt``).
    8484
    85     ``UploadedFile.file_size``
     85    ``UploadedFile.size``
    8686        The size, in bytes, of the uploaded file.
    8787
    8888There are a few other methods and attributes available on ``UploadedFile``
     
    169169        Returns ``True`` if you can expect more than one chunk when calling
    170170        ``UploadedFile.chunks(self, chunk_size)``.
    171171
    172     ``UploadedFile.file_size``
     172    ``UploadedFile.size``
    173173        The size, in bytes, of the uploaded file.
    174174
    175     ``UploadedFile.file_name``
     175    ``UploadedFile.name``
    176176        The name of the uploaded file as provided by the user.
    177177
    178178    ``UploadedFile.content_type``
Back to Top