Skip to content
Browse files

Fixed #7963 -- Corrected reference to deprecated properties in Upload…

…edFile documentation. Thanks to Marty Alchin for the report.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent eca3c7d commit 8099bc536bbd5d216f0ca781d9ff1c303917430b @freakboy3742 freakboy3742 committed
Showing with 4 additions and 4 deletions.
  1. +4 −4 docs/upload_handling.txt
8 docs/upload_handling.txt
@@ -79,10 +79,10 @@ methods to access the uploaded content:
In practice, it's often easiest simply to use ``chunks()`` all the time;
see the example below.
- ``UploadedFile.file_name``
+ ````
The name of the uploaded file (e.g. ``my_file.txt``).
- ``UploadedFile.file_size``
+ ``UploadedFile.size``
The size, in bytes, of the uploaded file.
There are a few other methods and attributes available on ``UploadedFile``
@@ -169,10 +169,10 @@ All ``UploadedFile`` objects define the following methods/attributes:
Returns ``True`` if you can expect more than one chunk when calling
``UploadedFile.chunks(self, chunk_size)``.
- ``UploadedFile.file_size``
+ ``UploadedFile.size``
The size, in bytes, of the uploaded file.
- ``UploadedFile.file_name``
+ ````
The name of the uploaded file as provided by the user.

0 comments on commit 8099bc5

Please sign in to comment.
Something went wrong with that request. Please try again.