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
67e087aa
Commit
67e087aa
authored
Oct 01, 2017
by
Diederik van der Boor
Committed by
GitHub
Oct 01, 2017
Browse files
Merge pull request #7 from sacredSatan/doc-fix
fix PRIVATE_STORAGE_AUTH_FUNCTION path, fixes #6
parents
11e015dd
c2c75ac8
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.rst
View file @
67e087aa
...
...
@@ -35,7 +35,7 @@ Add to the settings:
)
PRIVATE_STORAGE_ROOT = '/path/to/private-media/'
PRIVATE_STORAGE_AUTH_FUNCTION = '
apps.utils.
private_storage.permissions.allow_staff'
PRIVATE_STORAGE_AUTH_FUNCTION = 'private_storage.permissions.allow_staff'
Add to ``urls.py``:
...
...
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