cms.core.cache package¶
Subpackages¶
Submodules¶
cms.core.cache.admin module¶
cms.core.cache.cms_plugin module¶
cms.core.cache.cms_supervise module¶
-
class
cms.core.cache.cms_supervise.CMSSupervise¶ Bases:
cms.core.supervise.models.CMSSuperviseBase-
args= '{config} --pidfile {pid_file} --unixsocket {socket_file} --dir {data_root} --maxmemory {maxmemory}'¶
-
args_update= {'maxmemory': 67108864, 'config': '/var/www/share/TriangleCMS/local/lib/python2.7/site-packages/cms/core/cache/templates/supervise/redis.conf'}¶
-
autorestart= False¶
-
binary= '/var/www/share/TriangleCMS/bin/redis-server'¶
-
name= 'Caching daemon'¶
-
precheck()¶
-
cms.core.cache.monkeypatch module¶
-
cms.core.cache.monkeypatch.patch_queryset_clone(self, klass=None, setup=False, **kwargs)¶
cms.core.cache.panels module¶
-
class
cms.core.cache.panels.CachalotPanel(*args, **kwargs)¶ Bases:
debug_toolbar.panels.Panel-
collect_invalidations()¶
-
disable_instrumentation()¶
-
enable_instrumentation()¶
-
enabled¶
-
process_request(*args, **kwargs)¶
-
process_response(request, response)¶
-
template= u'debug_toolbar/cachalot.html'¶
-
title= u'Cachalot'¶
-
cms.core.cache.signals module¶
cms.core.cache.utils module¶
cms.core.cache.views module¶
-
class
cms.core.cache.views.CacheClearView(**kwargs)¶ Bases:
cms.contrib.admintools.views.AdmintoolsBaseView-
description= (<django.utils.functional.__proxy__ object at 0x5638690>,)¶
-
get(request, cachename)¶
-
group_title= <django.utils.functional.__proxy__ object at 0x5638750>¶
-
title= <django.utils.functional.__proxy__ object at 0x562f290>¶
-
-
class
cms.core.cache.views.CacheConnectionPool¶ Bases:
object-
get_connection_pool(host='127.0.0.1', port=6379, db=0, password=None, parser_class=None, unix_socket_path=None)¶
-
-
class
cms.core.cache.views.CacheStatsDetailView(*args, **kwargs)¶ Bases:
cms.contrib.admintools.views.AdmintoolsBaseView-
description= (<django.utils.functional.__proxy__ object at 0x5638a90>,)¶
-
get(request, cachename)¶
-
group_title= <django.utils.functional.__proxy__ object at 0x5638b50>¶
-
template_name= 'admintools/core_cache_stats_detail.html'¶
-
title= <django.utils.functional.__proxy__ object at 0x5638a10>¶
-
-
class
cms.core.cache.views.CacheStatsView(*args, **kwargs)¶ Bases:
cms.contrib.admintools.views.AdmintoolsBaseView-
description= (<django.utils.functional.__proxy__ object at 0x5638890>,)¶
-
get(request)¶
-
get_caches()¶
-
get_info()¶
-
group= 'cache'¶
-
group_title= <django.utils.functional.__proxy__ object at 0x5638950>¶
-
template_name= 'admintools/core_cache_stats.html'¶
-
title= <django.utils.functional.__proxy__ object at 0x5638810>¶
-