Skip to content
This repository has been archived by the owner on Nov 19, 2019. It is now read-only.

Latest commit

 

History

History
34 lines (21 loc) · 826 Bytes

README.rst

File metadata and controls

34 lines (21 loc) · 826 Bytes

File Rooms for Django

A resuable app for django to provide public and private file rooms.

Installation

pip install git+https://github.com/snowball-one/fileroom.git

You will then need to add the following to you settings file:

INSTALL_APP = [
    # Your other apps
    'filerooms',
]

SENDFILE_ROOT = os.path.join(BASE_DIR, 'protected')
SENDFILE_BACKEND = 'sendfile.backends.nginx'
SENDFILE_URL = '/protected'

The SENDFILE_* settings are described in the django-sendfile package

You will also need to add the filerooms urls to your top level urls.py:

urlpatterns = [
    # your existing patterns
    url(r'^rooms/', include('filerooms.urls')),
]