Django-social aims to implement common features of social networks. As of 0.1, it is able to notify users via a an ajax widget.
Emiting a minimal comment notification looks like this:
from django.contrib.comments.signals import comment_was_posted
from social.notification import Notification
def comment_notification(sender, comment=None, **kwargs):
Notification(comment=comment, template='comment_quickstart',
subscribers_of=comment.content_object).emit()
comment_was_posted.connect(comment_notification)
pip install -e git+https://github.com/yourlabs/django-social.git#egg=social
Then either:
My current plan is:
continue improving documentation
write unit tests again
release 1.0
All contribution is welcome !
Contents: