comment out the school-levels section
[wolnelektury.git] / apps / piston / signals.py
1 # Django imports
2 import django.dispatch
3
4 # Piston imports
5 from utils import send_consumer_mail
6
7 def consumer_post_save(sender, instance, created, **kwargs):
8     send_consumer_mail(instance)
9
10 def consumer_post_delete(sender, instance, **kwargs):
11     instance.status = 'canceled'
12     send_consumer_mail(instance)
13
14