예제 #1
0
def run_flush_comparison_cache(opts, **kwargs):
    """
    Flush the comparison cache.
    """
    from newslynx.models import ComparisonsCache

    ComparisonsCache.flush()
    log.info('Compaison cache flushed.')
예제 #2
0
def run_flush_comparison_cache(opts, **kwargs):
    """
    Flush the comparison cache.
    """
    from newslynx.models import ComparisonsCache

    ComparisonsCache.flush()
    log.info('Compaison cache flushed.')
예제 #3
0
파일: dev.py 프로젝트: eads/newslynx-core
def run_flush_comparison_cache(opts, **kwargs):
    """
    Flush the comparison cache.
    """
    ComparisonsCache.flush()
    echo('Compaison cache flushed.', no_color=opts.no_color)
예제 #4
0
def flush_comparison_cache():
    ComparisonsCache.flush()