figures/tasks.py
def run_figures_monthly_metrics():
    """
    TODO: only run for active sites. Requires knowing which sites we can skip
    """
    logger.info('Starting figures.tasks.run_figures_monthly_metrics...')
    for site in Site.objects.all():
        populate_monthly_metrics_for_site.delay(site_id=site.id)

    TODO: only run for active sites. Requires knowing which sites we can skip
    
only run for active sites. Requires knowing which sites we can skip
only run for active sites . Requires knowing which sites we can skip
def run_figures_monthly_metrics():
    logger.info('Starting figures.tasks.run_figures_monthly_metrics...')
    for site in Site.objects.all():
        populate_monthly_metrics_for_site.delay(site_id=site.id)
def run_figures_monthly_metrics ( ) : logger . info ( 'Starting figures.tasks.run_figures_monthly_metrics...' ) for site in Site . objects . all ( ) : populate_monthly_metrics_for_site . delay ( site_id = site . id )
TODO: only run for active sites.
TODO : only run for active sites .
"""
    TODO: only run for active sites. Requires knowing which sites we can skip
    """