summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorIngo Klöcker <djangoproject@ingo-kloecker.de>2017-04-06 18:05:58 +0200
committerTim Graham <timograham@gmail.com>2017-04-26 13:55:48 -0400
commit4678957b4efae23204d954ac912c77d7cf122f26 (patch)
tree48ed0c287073239aaba5bc4831ddf0f9821f9ec5 /docs/ref
parent3bbe85b7b51ea49197a20a70567ea40ad23a59dc (diff)
[1.11.x] Fixed #27644 -- Doc'd FileSystemStorage.get_created_time().
Backport of f3ac398dd595c43f551502c742b0b3cbe8440e50 from master
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/files/storage.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ref/files/storage.txt b/docs/ref/files/storage.txt
index 0e8303c7af..78a6c31ab4 100644
--- a/docs/ref/files/storage.txt
+++ b/docs/ref/files/storage.txt
@@ -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
=====================