diff options
| author | Ingo Klöcker <djangoproject@ingo-kloecker.de> | 2017-04-06 18:05:58 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-04-26 13:33:35 -0400 |
| commit | f3ac398dd595c43f551502c742b0b3cbe8440e50 (patch) | |
| tree | e4289e75712f2c2df6778ffbccb94fcdc33098c6 /docs | |
| parent | 6684af1e43aeff99551f3265710d44c273f0554a (diff) | |
Fixed #27644 -- Doc'd FileSystemStorage.get_created_time().
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/files/storage.txt | 7 | ||||
| -rw-r--r-- | docs/spelling_wordlist | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/docs/ref/files/storage.txt b/docs/ref/files/storage.txt index 0d0a11eb94..2a82402fac 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 ===================== diff --git a/docs/spelling_wordlist b/docs/spelling_wordlist index 160db5212b..2a75f0d01e 100644 --- a/docs/spelling_wordlist +++ b/docs/spelling_wordlist @@ -130,6 +130,7 @@ csrf csrfmiddlewaretoken css csv +ctime Ctrl customizability customizable |
