Skip to main content

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

DjangoSharepointStorage-1.0.0.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

DjangoSharepointStorage-1.0.0-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page