From 36d1e3725fd0b6a196ddb662fd1eb8bca638d38c Mon Sep 17 00:00:00 2001 From: Vishal Lal Date: Wed, 2 Apr 2014 08:08:20 +0000 Subject: [1.7.x] Fixed #22347 -- Unified FileSystemStorage documentation. Thanks nliberg for the report. Backport of ca93f02c62 from master --- docs/ref/files/storage.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'docs/ref') 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 -- cgit v1.3