예제 #1
0
파일: models.py 프로젝트: szoth/villagescc
 def post_save(cls, sender, instance, created, **kwargs):
     ripple.update_credit_limit(instance)
     if created:
         instance.update_trust_network()
예제 #2
0
파일: models.py 프로젝트: hilam/villagescc
 def post_delete(cls, sender, instance, **kwargs):
     ripple.update_credit_limit(instance)
     # TODO: Do something more efficient than rebuild trust network
     # from scratch here.
     cls.objects.rebuild_trust_network()
예제 #3
0
파일: models.py 프로젝트: szoth/villagescc
 def post_delete(cls, sender, instance, **kwargs):
     ripple.update_credit_limit(instance)
     # TODO: Do something more efficient than rebuild trust network
     # from scratch here.
     cls.objects.rebuild_trust_network()
예제 #4
0
파일: models.py 프로젝트: hilam/villagescc
 def post_save(cls, sender, instance, created, **kwargs):
     ripple.update_credit_limit(instance)
     if created:
         instance.update_trust_network()