Commit 9f4c08eb authored by Diederik van der Boor's avatar Diederik van der Boor
Browse files

README: mention INSTALLED_APPS, needed for translations

parent 242c0718
...@@ -17,6 +17,17 @@ Installation ...@@ -17,6 +17,17 @@ Installation
Configuration Configuration
------------- -------------
Add to the settings:
.. code-block:: python
INSTALLED_APPS += (
'private_storage',
)
PRIVATE_STORAGE_ROOT = '/path/to/private-media/'
PRIVATE_STORAGE_AUTH_FUNCTION = 'apps.utils.private_storage.permissions.allow_staff'
Add to ``urls.py``: Add to ``urls.py``:
.. code-block:: python .. code-block:: python
...@@ -27,13 +38,6 @@ Add to ``urls.py``: ...@@ -27,13 +38,6 @@ Add to ``urls.py``:
url('^private-media/', include(private_storage.urls)), url('^private-media/', include(private_storage.urls)),
] ]
Add to the settings:
.. code-block:: python
PRIVATE_STORAGE_ROOT = '/path/to/private-media/'
PRIVATE_STORAGE_AUTH_FUNCTION = 'apps.utils.private_storage.permissions.allow_staff'
Usage Usage
----- -----
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment