diff options
| author | Vishal Lal <vish61@gmail.com> | 2014-04-02 08:08:20 +0000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-04-02 12:58:37 -0400 |
| commit | ca93f02c621ea0f686e0bde3e4130e99116fd9d5 (patch) | |
| tree | 05ff763eeb89b123819477aa89fed4696a7fc965 /docs/ref/files/storage.txt | |
| parent | 608e6eb2959c6e56e5c702ca0d15fa0e6c2eef16 (diff) | |
Fixed #22347 -- Unified FileSystemStorage documentation.
Thanks nliberg for the report.
Diffstat (limited to 'docs/ref/files/storage.txt')
| -rw-r--r-- | docs/ref/files/storage.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/ref/files/storage.txt b/docs/ref/files/storage.txt index b29b083e5c..3fab257457 100644 --- a/docs/ref/files/storage.txt +++ b/docs/ref/files/storage.txt @@ -36,6 +36,16 @@ The FileSystemStorage Class :class:`~django.core.files.storage.Storage` and provides implementations for all the public methods thereof. + .. attribute:: location + + Absolute path to the directory that will hold the files. + Defaults to the value of your :setting:`MEDIA_ROOT` setting. + + .. attribute:: base_url + + URL that serves the files stored at this location. + Defaults to the value of your :setting:`MEDIA_URL` setting. + .. attribute:: file_permissions_mode The file system permissions that the file will receive when it is |
