通过orm实现django模型的自动缓存和失效。
django-cache-machine-2.0的Python项目详细描述
cache machine为django模型提供自动缓存和失效 通过orm。
有关完整文档,请参见https://cache-machine.readthedocs.org/en/latest/。
要求
cache machine与django 1.8-2.0和python 2.7、3.4、3.5和3.6一起工作。
运行测试
从github:
git clone git://github.com/django-cache-machine/django-cache-machine.git cd django-cache-machine pip install -r requirements/py3.txt # or py2.txt for Python 2 python run_tests.py