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

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

src/t/e/tendenci-5.1.333/tendenci/addons/campaign_monitor/utils.py   tendenci(Download)
        campaign.total_recipients = c.TotalRecipients
        campaign.status = 'S' #sent
        campaign.save()
 
    if hasattr(cl,'scheduled'): scheduled = cl.scheduled()
        campaign.preview_url = c.PreviewURL
        campaign.status = 'C' #Scheduled
        campaign.save()
 
    if hasattr(cl,'drafts'): drafts = cl.drafts()
        campaign.name = c.Name
        campaign.preview_url = c.PreviewURL
        campaign.save()
 
def sync_templates(request=None):