Merge branch 'fix_cancel_transaction' into fix_description_truncate_bug

pull/1/head
eric 2013-03-12 23:12:50 -04:00
commit 20402f914d
1 changed files with 1 additions and 1 deletions

View File

@ -1178,7 +1178,7 @@ class PledgeCancelView(FormView):
# send a notice out that the transaction has been canceled -- leverage the pledge_modify notice for now # send a notice out that the transaction has been canceled -- leverage the pledge_modify notice for now
# BUGBUG: should have a pledge cancel notice actually since I think it's different # BUGBUG: should have a pledge cancel notice actually since I think it's different
from regluit.payment.signals import pledge_modified from regluit.payment.signals import pledge_modified
pledge_modified.queue(sender=self, transaction=transaction, up_or_down="canceled") pledge_modified.send(sender=self, transaction=transaction, up_or_down="canceled")
logger.info("pledge_modified notice for cancellation: sender {0}, transaction {1}".format(self, transaction)) logger.info("pledge_modified notice for cancellation: sender {0}, transaction {1}".format(self, transaction))
return HttpResponseRedirect(reverse('work', kwargs={'work_id': campaign.work.id})) return HttpResponseRedirect(reverse('work', kwargs={'work_id': campaign.work.id}))
else: else: