diff options
| author | Tim Graham <timograham@gmail.com> | 2016-12-31 11:11:04 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-01-17 20:52:03 -0500 |
| commit | 2d7fb779870583f8c6ee003f81bf67c4d7c21227 (patch) | |
| tree | 229a7c77d8e0a9645c27609ceb236ca6d4e9d4cb /docs/ref/files | |
| parent | 740f63a3df2be086917c255421480c568c949f9b (diff) | |
Refs #23832 -- Removed deprecated non-timezone aware Storage API.
Diffstat (limited to 'docs/ref/files')
| -rw-r--r-- | docs/ref/files/storage.txt | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/docs/ref/files/storage.txt b/docs/ref/files/storage.txt index 0e8303c7af..61bf3c3951 100644 --- a/docs/ref/files/storage.txt +++ b/docs/ref/files/storage.txt @@ -77,28 +77,6 @@ The ``Storage`` class used will be the current value of ``os.environ['TZ']``; note that this is usually set from Django's :setting:`TIME_ZONE`. - .. method:: accessed_time(name) - - Returns a naive ``datetime`` object containing the last - accessed time of the file. For storage systems that aren't - able to return the last accessed time this will raise - ``NotImplementedError`` instead. - - .. deprecated:: 1.10 - - Use :meth:`get_accessed_time` instead. - - .. method:: created_time(name) - - Returns a naive ``datetime`` object containing the creation - time of the file. For storage systems that aren't able to - return the creation time this will raise - ``NotImplementedError`` instead. - - .. deprecated:: 1.10 - - Use :meth:`get_created_time` instead. - .. method:: delete(name) Deletes the file referenced by ``name``. If deletion is not supported @@ -186,17 +164,6 @@ The ``Storage`` class storage systems that aren't able to provide such a listing, this will raise a ``NotImplementedError`` instead. - .. method:: modified_time(name) - - Returns a naive ``datetime`` object containing the last - modified time. For storage systems that aren't able to return - the last modified time, this will raise - ``NotImplementedError`` instead. - - .. deprecated:: 1.10 - - Use :meth:`get_modified_time` instead. - .. method:: open(name, mode='rb') Opens the file given by ``name``. Note that although the returned file |
