Activity streams Lightning Talk, DjangoCon 2011, Day3

Post on 08-Jun-2015

1107 Views

Category:

Technology

3 Downloads

Preview:

Click to see full reader

Transcript

Activity StreamsAnd django-activity-stream

This is an activity stream

So is this...

And this...

But... What can I do with it?

Look at it!

Write to their APIs...

Subscribe to it! (Could be useful...)

What about Django?

Makes this work

One (longish) call:

# create actionaction.send ( user.person, # actor verb='pushed', # verbed action_object=app, # an object target=environment, # to a target (optional) description=message,)

One URL Pattern:

import actstream

urlpatterns += patterns('', ('^feed/activity/', include('actstream.urls')),)

Feeds

Atom

Activity Streams!https://github.com/sivy/django-activity-stream

top related