Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Websites UFRPE
Django Private Storage
Commits
d93d2ef1
Commit
d93d2ef1
authored
Apr 18, 2018
by
Diederik van der Boor
Browse files
Clarify max_file_size
parent
c4951ab2
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.rst
View file @
d93d2ef1
...
...
@@ -66,7 +66,7 @@ The ``PrivateFileField`` also accepts the following kwargs:
* ``upload_to``: the optional subfolder in the ``PRIVATE_STORAGE_ROOT``.
* ``upload_subfolder``: a function that defines the folder, it receives the current model ``instance``.
* ``content_types``: allowed content types
* ``max_file_size``: maximum file size
.
* ``max_file_size``: maximum file size
in bytes. (1MB is 1024 * 1024)
* ``storage``: the storage object to use, defaults to ``private_storage.storage.private_storage``
Other topics
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment