Skip to content

Commit

Permalink
Add actors argument documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
swans-one committed Dec 18, 2014
1 parent 8e444fe commit 3553fcd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions entity_event/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ def site_feed(request):
results. Passing in ``True`` to this argument causes
expired events to be returned as well.
:type actor: Entity (optional)
:param actor: Only include events with the given entity as an
actor.
:type mark_seen: Boolean (optional)
:param mark_seen: Create a side effect in the database that
marks all the returned events as having been seen by this
Expand Down Expand Up @@ -212,6 +216,10 @@ def newsfeed(request):
results. Passing in ``True`` to this argument causes
expired events to be returned as well.
:type actor: Entity (optional)
:param actor: Only include events with the given entity as an
actor.
:type mark_seen: Boolean (optional)
:param mark_seen: Create a side effect in the database that
marks all the returned events as having been seen by this
Expand Down Expand Up @@ -303,6 +311,10 @@ def events_targets(self, entity_kind=None, **event_filters):
results. Passing in ``True`` to this argument causes
expired events to be returned as well.
:type actor: Entity (optional)
:param actor: Only include events with the given entity as an
actor.
:type mark_seen: Boolean (optional)
:param mark_seen: Create a side effect in the database that
marks all the returned events as having been seen by this
Expand Down

0 comments on commit 3553fcd

Please sign in to comment.