A Python library to use SharePoint as storage backend for your Django application
Project description
Lund Process Flow Modules
A Python library for converting office files to PDF using the iLovePDF API.
Install the package
pip install DjangoSharepointStorage
Usage
Here's how to use DjangoSharepointStorage:
- You need to set following variables in your application's settings file:
SHAREPOINT_APP_CLIENT_ID = "your_sharepoint_app_client_id"
SHAREPOINT_APP_CLIENT_SECRET = "your_sharepoint_app_client_secret"
SHAREPOINT_URL = "your_sharepoint_app_url"
SHAREPOINT_STATIC_DIR = "sharepoint_static_dir"
SHAREPOINT_MEDIA_DIR = "sharepoint_media_dir"
- Then, you need to assign the DjangoSharepointStorage as your application's storage backend:
DEFAULT_FILE_STORAGE = 'django_sharepoint_storage.SharePointCloudStorageUtils.Media'
STATICFILES_STORAGE = 'django_sharepoint_storage.SharePointCloudStorageUtils.Static'
This project is licensed under the terms of the MIT license
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.