Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(0)  |  Derive(0)  |  Import(4)

src/d/j/django-cachebot-0.4.1/cachebot/utils.py   django-cachebot(Download)
def flush_cache(hard=True):
    from cachebot.models import CacheBotSignals
    from cachebot.signals import cache_signals
 
    CacheBotSignals.objects.all().delete()

src/d/j/django-cachebot-0.4.1/cachebot/queryset.py   django-cachebot(Download)
from cachebot import conf
from cachebot.models import post_update
from cachebot.signals import cache_signals
from cachebot.utils import get_invalidation_key, get_values, set_value
 

src/d/j/django-cachebot-HEAD/cachebot/utils.py   django-cachebot(Download)
def flush_cache(hard=True):
    from cachebot.models import CacheBotSignals
    from cachebot.signals import cache_signals
 
    CacheBotSignals.objects.all().delete()

src/d/j/django-cachebot-HEAD/cachebot/queryset.py   django-cachebot(Download)
from cachebot import conf
from cachebot.models import post_update
from cachebot.signals import cache_signals
from cachebot.utils import get_invalidation_key, get_values, set_value