You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP

django-couchdb-storage

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
100

Supply Chain Security

100

Vulnerability

100

Quality

100

Maintenance

100

License

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