I am trying to understand the concepts behind the activity stream specification, specificity using the Django:
I have the following components:
- Medal (A model instance)
- User (Whom the medal will be awarded too)
- Verb
As I understand it one of the following should be the correct way to structure the data, but I am unsure which.
- Actor (Medal)
- Verb (awarded to)
- Action Object (User)
Example: 2014 medal awarded to Lee
OR
- Actor (User)
- Verb (was awarded)
- Action Object (Medal)
Example: Lee was awarded 2014 medal
Additional question How would targets work into this data set?
Thanks in advance,
I think you need something like this
Lee (
actor
) was awarded (verb
) the medal (action object
)This form might be more useful for you to use in Action Streams, which let you "follow" things that Lee does/are done to him