Permalink
Browse files

Removes Vote signal handling.

  • Loading branch information...
1 parent d44aac2 commit fff637483c5f7034b2369dab2d3cb1e611fb283f @calumhalcrow calumhalcrow committed Oct 18, 2011
Showing with 1 addition and 4 deletions.
  1. +1 −4 frontend/events/signals.py
@@ -3,7 +3,7 @@
from django.db.models.signals import post_save
from django.dispatch import receiver
import pika
-from events.models import Message, Vote
+from events.models import Message
@receiver(post_save, sender=Message)
def on_status_received(sender, instance, created, **kwargs):
@@ -16,6 +16,3 @@ def on_status_received(sender, instance, created, **kwargs):
print ' [x] Data sent to queue: {0}'.format(data)
connection.close()
-@receiver(post_save, sender=Vote)
-def on_vote_received(sender, instance, created, **kwargs):
- print ' [x] Vote received'

0 comments on commit fff6374

Please sign in to comment.