예제 #1
0
def post_save_subscriber(sender, instance=None, created=False, **kwargs):
    if instance:
        from subscribers.utils import update_subscriber_data
        update_subscriber_data(instance.pk)
 def forwards(self, orm):
     for sub in orm.GroupSubscription.objects.all():
         update_subscriber_data(sub.pk)