justquick / django-activity-stream

Generate generic activity streams from the actions on your site. Users can follow any actors' activities for personalized streams.
http://django-activity-stream.rtfd.io/en/latest/
BSD 3-Clause "New" or "Revised" License
2.36k stars 483 forks source link

django-activity-stream and django-comments-xtd #499

Closed pnizet closed 2 years ago

pnizet commented 2 years ago

Hello, [disclaimer : noob question] On a django project i'm using both django-activity-stream and django-comments-xtd, Is there a way to build a stream of the comments posted via the django-comments-xtd package ?? because obviously I will not modifiy the code of the package... to add action in it How am I supposed to do so ?? Thanks for your help

auvipy commented 2 years ago

ask on StackOverflow

justquick commented 2 years ago

you can always use the actstream signals to send/recieve info. eg django's post_save can detect comment model changes and then you can use the actions signals to configure your project as you want

https://django-activity-stream.readthedocs.io/en/latest/actions.html https://docs.djangoproject.com/en/4.0/topics/signals/