You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

django-couchdb-storage

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-couchdb-storage

Django storage backend for CouchDB

0.0.2
PyPI
Maintainers
1

A couchdb storage backend for Django

For each upload, a new document with the file attached is created.

Setup

Install this package with pip:

pip install -U django-couchdb-storage

Add it to your INSTALLED_APPS in django settings:

INSTALLED_APPS = [
    ...

    'couch',
]

And and configuration to point django to your couchdb:

DEFAULT_FILE_STORAGE = 'couchdb_storage.CouchDBStorage'
COUCHDB_HOST = 'http://127.0.0.1:5984'
COUCHDB_DATABASE = 'django_storage'
COUCHDB_USER = ''
COUCHDB_PASSWORD = ''

Constraints

Right now, this package assumes that content from the storage database can be read anonymously. Writes are authenticated. It is also assumed, that the db host can be accessed publicly.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts