# django-zencache
Django cache backend for ZenCached.
## Install
```
pip install django-zencache
```
## Usage
*pro/settings.py*
```
# ...
CACHES = {
"default": {
"BACKEND": "django_zencache.DjangoZenCache",
"LOCATION": "127.0.0.1:6779",
"OPTIONS": {
"pool_size": 10,
"username": "app01",
"password": "spnPF3HzY975GJYC"
}
},
}
# ...
```
Add CACHES in `pro/settings.py`, using `django_zencache.DjangoZenCache` as the backend.
## Releases
### v0.1.0
- First release.
Raw data
{
"_id": null,
"home_page": "",
"name": "django-zencache",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "django cache backend,zencache,zencached",
"author": "zencore",
"author_email": "dobetter@zencore.cn",
"download_url": "https://files.pythonhosted.org/packages/62/ce/508aa4c4b7c33e3429873a0159a6cba36abcfe42a8e7f136bec52434635f/django-zencache-0.1.0.tar.gz",
"platform": null,
"description": "# django-zencache\n\nDjango cache backend for ZenCached.\n\n## Install\n\n```\npip install django-zencache\n```\n\n## Usage\n\n*pro/settings.py*\n\n```\n# ...\n\nCACHES = {\n \"default\": {\n \"BACKEND\": \"django_zencache.DjangoZenCache\",\n \"LOCATION\": \"127.0.0.1:6779\",\n \"OPTIONS\": {\n \"pool_size\": 10,\n \"username\": \"app01\",\n \"password\": \"spnPF3HzY975GJYC\"\n }\n },\n}\n\n# ...\n```\n\nAdd CACHES in `pro/settings.py`, using `django_zencache.DjangoZenCache` as the backend.\n\n## Releases\n\n### v0.1.0\n\n- First release.\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Django cache backend for ZenCached.",
"version": "0.1.0",
"split_keywords": [
"django cache backend",
"zencache",
"zencached"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "d5dee06ed424bee1822f7e0bb7b14790",
"sha256": "0e50cb9c85d6564936fb5a691288ace657d7b84b8c1271a401f0ecd352441b8e"
},
"downloads": -1,
"filename": "django_zencache-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d5dee06ed424bee1822f7e0bb7b14790",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 2858,
"upload_time": "2022-12-14T02:50:07",
"upload_time_iso_8601": "2022-12-14T02:50:07.632720Z",
"url": "https://files.pythonhosted.org/packages/91/53/22a518d10b2c823fbcb8826d25e588a25afba4a1e998f62b18e8e7cee023/django_zencache-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "87d2bf5ee9a7877ad27b6242ca73f5e9",
"sha256": "d61a14d9efc090b5859516d5edd18c708c2825cba29711a5d6a2f9dac02e6459"
},
"downloads": -1,
"filename": "django-zencache-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "87d2bf5ee9a7877ad27b6242ca73f5e9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3188,
"upload_time": "2022-12-14T02:50:10",
"upload_time_iso_8601": "2022-12-14T02:50:10.186227Z",
"url": "https://files.pythonhosted.org/packages/62/ce/508aa4c4b7c33e3429873a0159a6cba36abcfe42a8e7f136bec52434635f/django-zencache-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-14 02:50:10",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "django-zencache"
}