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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for DjangoSharepointStorage-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f353a8f5a5be816b9d76d8a6448a6a7e5a5945050052470e2e113dce0a349e7a |
|
MD5 | 62ed81d8035a3b403fee179d9208f483 |
|
BLAKE2b-256 | 88e37f41bf98948d274643e968674c2d5fe470ae81ec2a8db00ca7cebbcedd2e |
Close
Hashes for DjangoSharepointStorage-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2645da2960b4addaf90c5be0a8292553fb606d16d213e74bd4667951034966d5 |
|
MD5 | 69b25bf9c7a4176512c870324d426bf7 |
|
BLAKE2b-256 | e5c4f41ed8f265d5063c78224851e8247dc514d6daeae42e0feaf0907837c893 |