[1.11.x] Fixed #27644 -- Doc'd FileSystemStorage.get_created_time().

Backport of f3ac398dd5 from master
This commit is contained in:
Ingo Klöcker 2017-04-06 18:05:58 +02:00 committed by Tim Graham
parent 3bbe85b7b5
commit 4678957b4e
2 changed files with 8 additions and 0 deletions

View File

@ -62,6 +62,13 @@ The ``FileSystemStorage`` class
The ``FileSystemStorage.delete()`` method will not raise
an exception if the given file name does not exist.
.. method:: get_created_time(name)
Returns a :class:`~datetime.datetime` of the system's ctime, i.e.
:func:`os.path.getctime`. On some systems (like Unix), this is the
time of the last metadata change, and on others (like Windows), it's
the creation time of the file.
The ``Storage`` class
=====================

View File

@ -155,6 +155,7 @@ csrf
csrfmiddlewaretoken
css
csv
ctime
Ctrl
customizability
customizable