Advertisement
MarioYC

send_new_post_signal

Feb 13th, 2013
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. from blogs.model import AbstractPost
  2. from api.signals import notify_rabbit_new_post
  3.  
  4. for abst_post in AbstractPost.objects.all():
  5.     notify_rabbit_new_post(abst_post)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement