Skip to content

Instantly share code, notes, and snippets.

@jpic
Created September 25, 2011 19:55
Show Gist options
  • Select an option

  • Save jpic/1241058 to your computer and use it in GitHub Desktop.

Select an option

Save jpic/1241058 to your computer and use it in GitHub Desktop.
self.b.emit(notifications.TextNotification(
text=u'%(follower)s follows %(followed)s',
follower=self.u2, followed=self.u3
),
queues=[
'friends_dropdown::' + self.u3.pk,
['feed::' + u.id for u in Subscription.objects.subscribers_of(self.u2)],
['user_detail_activities_tab::' + u.id for u in (self.u2, self.u3)]
'all_site_activities',
],
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment