summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorVishal Lal <vish61@gmail.com>2014-04-02 08:08:20 +0000
committerTim Graham <timograham@gmail.com>2014-04-02 13:01:03 -0400
commit36d1e3725fd0b6a196ddb662fd1eb8bca638d38c (patch)
tree50a5381b425e4d97e9a300823ff8600df69357e8 /docs/ref
parentcfb7eca2a19119c4e54c3301918de360f8966984 (diff)
[1.7.x] Fixed #22347 -- Unified FileSystemStorage documentation.
Thanks nliberg for the report. Backport of ca93f02c62 from master
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/files/storage.txt10
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