示例#1
0
文件: base.py 项目: egorhm/ggrc-core
 def drop_cache(cls):
   if not getattr(settings, 'MEMCACHE_MECHANISM', False):
     return
   memcache = MemCache()
   memcache.clean()
示例#2
0
 def drop_cache(cls):
     if not getattr(settings, 'MEMCACHE_MECHANISM', False):
         return
     memcache = MemCache()
     memcache.clean()