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

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

        def init_signals():
    from django.db.models.signals import post_save
    from tendenci.addons.campaign_monitor.models import Campaign
    from tendenci.apps.contributions.signals import save_contribution

    post_save.connect(save_contribution, sender=Campaign, weak=False)
        


src/t/e/tendenci-5.1.333/tendenci/addons/campaign_monitor/urls.py   tendenci(Download)
from django.conf.urls.defaults import patterns, url
from tendenci.addons.campaign_monitor.signals import init_signals
 
init_signals()