mirror of
https://github.com/django/django.git
synced 2025-09-26 20:19:16 +00:00
[1.7.x] Fixed #22347 -- Unified FileSystemStorage documentation.
Thanks nliberg for the report.
Backport of ca93f02c62
from master
This commit is contained in:
parent
cfb7eca2a1
commit
36d1e3725f
2 changed files with 12 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue