允许清除当前站点的memcache项(根据缓存密钥前缀),甚至清除整个配置的memcache服务器。该应用程序集成到django的管理界面中,易于使用。
django-clear-memcache的Python项目详细描述
概述
允许清除当前站点的memcache项(根据缓存密钥前缀) 甚至清除整个配置的memcache服务器。 该应用程序集成到django的管理界面中,易于使用。
安装
安装:
pip install django-clear-memcache
将django_clear_memcache添加到已安装的应用程序
如果尚未完成,请将缓存配置为具有默认缓存 有一个支持的memcache后端(django.core.cache.backends.memcached.*) 并设置一个键的前缀。
用法
打开管理界面,找到新菜单项“clear memcache”。 在这里,您可以清除配置的key_前缀的缓存项或 甚至整个memcache服务器。
此外,还可以在缓存中列出配置的key_前缀的已知项。
更改
- 2017年4月17日-1.3.0:
- 支持python3
- 2016-08-18-1.2.1:
- 用basecommand替换noargscommand (用于django 1.10支持)
- 2016-08-18-1.2.0:
- 删除不推荐的django.conf.url.patterns (用于django 1.10支持)
- 2015年8月16日-1.1.1:
- 大小写memcached端口号为整数 (修复telnetlib中的连接错误)
- 2014年12月9日-1.1.0:
- Django 1.7支持
- 还可以找到带名称空间的jquery
- 2014年5月24日-1.0.1:
- 包括模板和静态文件
- 2014年5月18日-1.0.0:
- 初始版本
许可证
版权所有(C)2017,Enrico Tróger 保留所有权利。
以源和二进制形式重新分配和使用,无论是否修改, 如果满足以下条件,则允许使用:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name django-wakawaka nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
本软件由版权所有者和贡献者“按原样”提供,并且 任何明示或默示保证,包括但不限于 对特定用途的适销性和适合性的保证 否认。在任何情况下,版权所有人或贡献者均不负责 任何直接、间接、附带、特殊、惩戒性或间接损害 (包括但不限于替代货物或服务的采购; 使用、数据或利润的损失;或营业中断),无论是何种原因造成的 任何责任理论,无论是合同责任、严格责任还是侵权责任 (包括疏忽或其他)以任何方式产生的 软件,即使被告知有这种损坏的可能性。