diff options
author | Leif Johansson <leifj@sunet.se> | 2011-11-08 14:10:17 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-11-08 14:10:42 +0100 |
commit | baf5f96d25c5f378169ac910f9535d29a9546e3e (patch) | |
tree | 7c16bc8a98d8a244a78577be8a625001757af89b /coip/apps/activitystreams/managers.py | |
parent | 9ba73ae91642d07aa78789e6e0cedf6ed6250300 (diff) |
produce a basic group-oriented activity stream
Diffstat (limited to 'coip/apps/activitystreams/managers.py')
-rw-r--r-- | coip/apps/activitystreams/managers.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/coip/apps/activitystreams/managers.py b/coip/apps/activitystreams/managers.py deleted file mode 100644 index aaa73f9..0000000 --- a/coip/apps/activitystreams/managers.py +++ /dev/null @@ -1,17 +0,0 @@ -''' -Created on Nov 8, 2011 - -@author: leifj -''' -from actstream.models import ActionManager -from actstream.views import stream -from datetime import datetime - - -class NameActionManager(ActionManager): - - @stream - def name_activities(self, name, time=None): - if time is None: - time = datetime.now() - return name.actor_actions.filter(timestamp__lte = time)
\ No newline at end of file |