diff options
| author | Tim Graham <timograham@gmail.com> | 2015-01-26 15:39:52 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-02-01 21:02:40 -0500 |
| commit | c79faae761659d51d58782dbd2b8058fb4668cfa (patch) | |
| tree | a83649a302c53dd2d0ce9e0f50c4017b8b5da979 /docs/ref/files | |
| parent | 0e6091249295b0e06aff2b1b4411819f94a1c529 (diff) | |
Removed versionadded/changed notes for 1.7.
Diffstat (limited to 'docs/ref/files')
| -rw-r--r-- | docs/ref/files/storage.txt | 20 | ||||
| -rw-r--r-- | docs/ref/files/uploads.txt | 6 |
2 files changed, 0 insertions, 26 deletions
diff --git a/docs/ref/files/storage.txt b/docs/ref/files/storage.txt index 88da416dcf..ad5616c0dd 100644 --- a/docs/ref/files/storage.txt +++ b/docs/ref/files/storage.txt @@ -51,22 +51,11 @@ The FileSystemStorage Class The file system permissions that the file will receive when it is saved. Defaults to :setting:`FILE_UPLOAD_PERMISSIONS`. - .. versionadded:: 1.7 - - The ``file_permissions_mode`` attribute was added. Previously files - always received :setting:`FILE_UPLOAD_PERMISSIONS` permissions. - .. attribute:: directory_permissions_mode The file system permissions that the directory will receive when it is saved. Defaults to :setting:`FILE_UPLOAD_DIRECTORY_PERMISSIONS`. - .. versionadded:: 1.7 - - The ``directory_permissions_mode`` attribute was added. Previously - directories always received - :setting:`FILE_UPLOAD_DIRECTORY_PERMISSIONS` permissions. - .. note:: The ``FileSystemStorage.delete()`` method will not raise @@ -129,15 +118,6 @@ The Storage Class 7 character alphanumeric string is appended to the filename before the extension. - .. versionchanged:: 1.7 - - Previously, an underscore followed by a number (e.g. ``"_1"``, - ``"_2"``, etc.) was appended to the filename until an available - name in the destination directory was found. A malicious user could - exploit this deterministic algorithm to create a denial-of-service - attack. This change was also made in Django 1.6.6, 1.5.9, and - 1.4.14. - .. versionchanged:: 1.8 The ``max_length`` argument was added. diff --git a/docs/ref/files/uploads.txt b/docs/ref/files/uploads.txt index 5746985911..bb2bbad321 100644 --- a/docs/ref/files/uploads.txt +++ b/docs/ref/files/uploads.txt @@ -57,8 +57,6 @@ Here are some useful attributes of ``UploadedFile``: .. attribute:: UploadedFile.content_type_extra - .. versionadded:: 1.7 - A dictionary containing extra parameters passed to the ``content-type`` header. This is typically provided by services, such as Google App Engine, that intercept and handle file uploads on your behalf. As a result your @@ -220,10 +218,6 @@ attributes: This method may raise a ``StopFutureHandlers`` exception to prevent future handlers from handling this file. - .. versionadded:: 1.7 - - The ``content_type_extra`` parameter was added. - .. method:: FileUploadHandler.upload_complete() Callback signaling that the entire upload (all files) has completed. |
