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
c2c75ac8
Commit
c2c75ac8
authored
Sep 10, 2017
by
Satan
Browse files
fix PRIVATE_STORAGE_AUTH_FUNCTION path, fixes #6
parent
11e015dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.rst
View file @
c2c75ac8
...
...
@@ -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