跳转到主要内容

通过ORM为Django模型提供自动缓存和失效。

项目描述

Cache Machine通过ORM为Django模型提供自动缓存和失效。

有关完整文档,请参阅https://cache-machine.readthedocs.org/en/latest/

https://github.com/django-cache-machine/django-cache-machine/actions/workflows/ci.yaml/badge.svg

要求

Cache Machine目前与以下版本兼容:

  • Django 2.2, 3.0, 3.1, 3.2, 和 4.0

  • Python 3.6, 3.7, 3.8, 3.9, 和 3.10

支持Python 2.7和Django 1.11的最后一个版本是django-cache-machine==1.1.0

安装

pypi获取

pip install django-cache-machine

运行测试

github获取。

git clone git://github.com/django-cache-machine/django-cache-machine.git
cd django-cache-machine
pip install -r dev-requirements.txt
python run_tests.py

项目详情


下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源分布

django-cache-machine-1.2.0.tar.gz (12.0 kB 查看哈希值)

上传时间

由以下支持