django-activity-stream中action对象和target的区别

The difference between action object and target in django-activity-stream

使用 django-activity-stream 可以创建 activity 流(最近做了什么?)就像在 Facebook、Twitter 或任何其他社交网络。

action objecttarget 有什么区别,用例是什么?

截至 http://activitystrea.ms/

[Object] describes the primary object of the activity. For instance, in the activity, "John saved a movie to his wishlist", the object of the activity is "movie".

[Target] describes the target of the activity. The precise meaning of the activity's target is dependent on the activities verb, but will often be the object the English preposition "to". For instance, in the activity, "John saved a movie to his wishlist", the target of the activity is "wishlist".

把它想象成一个英文句子:

 Actor   Verb       Object       Target
_________________________________________________________ 
 Paul  | uploaded | an artwork | to his collection
 Jane  | added    | an event   | to her personal calendar
 Aidas | asked    | a question | on django discussion