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.1.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file DjangoSharepointStorage-1.0.1.tar.gz.

File metadata

File hashes

Hashes for DjangoSharepointStorage-1.0.1.tar.gz
Algorithm Hash digest
SHA256 83333239c5021d665788e12f7e896001dcccc374b4f0374f0b37917cd01ae82e
MD5 8c7a0fde7ed67f98185d4ee8d4c60f73
BLAKE2b-256 f4c393e77c6a1776092d707e7c04f0ee6f0e8e8d89b2ea85d84b60ff657946db

See more details on using hashes here.

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