django-couchdb-storage-0.0.2
توضیحات
Django storage backend for CouchDB
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | django-couchdb-storage-0.0.2 |
| نام | django-couchdb-storage |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Dominik Seemann |
| ایمیل نویسنده | dominik@seemann.rocks |
| آدرس صفحه اصلی | https://github.com/5in4/django-couchdb-storage |
| آدرس اینترنتی | https://pypi.org/project/django-couchdb-storage/ |
| مجوز | - |
# 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:
```python
INSTALLED_APPS = [
...
'couch',
]
```
And and configuration to point django to your couchdb:
```python
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.
نیازمندی
| مقدار | نام |
|---|---|
| >=2.0 | requests |
نحوه نصب
نصب پکیج whl django-couchdb-storage-0.0.2:
pip install django-couchdb-storage-0.0.2.whl
نصب پکیج tar.gz django-couchdb-storage-0.0.2:
pip install django-couchdb-storage-0.0.2.tar.gz