diff options
author | Sergey Fedoseev <fedoseev.sergey@gmail.com> | 2018-03-12 18:12:44 +0500 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2018-03-12 09:12:44 -0400 |
commit | e17776e2cd3ae5b9ea13325128b2bcfde552da7c (patch) | |
tree | 416c255233dc978845222304a215a807f224c7a9 /django/core/files/base.py | |
parent | a5406fe989d27598652dfd9f8dc1429b5d2db85c (diff) | |
download | django-e17776e2cd3ae5b9ea13325128b2bcfde552da7c.tar.gz |
Removed redundant UploadedFile.DEFAULT_CHUNK_SIZE.
The same value is inherited from File.
Diffstat (limited to 'django/core/files/base.py')
-rw-r--r-- | django/core/files/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/files/base.py b/django/core/files/base.py index bc87a870c2..5403d4a702 100644 --- a/django/core/files/base.py +++ b/django/core/files/base.py @@ -48,7 +48,7 @@ class File(FileProxyMixin): def chunks(self, chunk_size=None): """ Read the file and yield chunks of ``chunk_size`` bytes (defaults to - ``UploadedFile.DEFAULT_CHUNK_SIZE``). + ``File.DEFAULT_CHUNK_SIZE``). """ chunk_size = chunk_size or self.DEFAULT_CHUNK_SIZE try: |