Django的缓存储备是一个Django应用程序,通过ORM提供有限的自动缓存和无效的Django的模型和NBSP;通过对象.objects.get(PK = ..)或.objects.get(ID =牵强。 。)由主密钥缓存。此外,还有一种方法可以得到与.objects.pk_in(ID_LIST)和.objects.id_in(ID_LIST)的方法的对象。
安装
得到它从[PyPI上](http://pypi.python.org/pypi/django-cache-stockpile):
`bash的PIP安装Django缓存,库存`
或[github上(http://github.com/streeter/django-cache-stockpile):
`bash的PIP安装-e混帐://github.com/streeter/django-cache-stockpile.git#egg=django-cache-stockpile`
运行测试
`bash的混帐混帐克隆://github.com/streeter/django-cache-stockpile.git CD Django的缓存库存PIP安装-r requirements.txt蟒蛇runtests.py`
要求:
- 在Python的
- Django的
评论没有发现