Quick Start Guide
Quick start
pip install -r requirements.txtpython3 setup.py test(to run app test suite)
Add apps to your INSTALLED_APPS settings:
INSTALLED_APPS = [ ... 'document_catalogue', 'mptt', 'private_storage', ]
Configure settings:
override document catalogue default settings (if required)
private storage settings (if using)
Include the document_catalogue URLconf (and optionally private_storage):
path('documents/', include('document_catalogue.urls')), path('private-media/', include('private_storage.urls')),
Run
python manage.py migrateto create the document_catalogue models.Start the development server and visit http://127.0.0.1:8000/admin/ to create some Categories and Documents (you’ll need the Admin app enabled).
Visit http://127.0.0.1:8000/documents/ to browse your catalogue by category.
Next Steps
See the demo project for some ideas on how to configure and use the Document Catalogue.
add document_catalogue/base.html to your templates to override the base template. Document Catalogue views are rendered within
{% block dc-content %}add a
<div id='DocumentCatalogueManager' ...>to base template to enable dropzone uploads and provide default optionssee demo project for more ideas