pirate_social
===
The pirate_social module will include multiple models that store social
information between two users, including the following datafields. The first
model will store follow status and trust value for quick reference.
Follow
---
1. Follow status: status of following relationship, if there is one. Requires a
User that follows and the user being followed.
RelationShipEvent
---
Relationship History: Another model will be required to store relationship
events, events where the two users interacted in the past. This will require a
RelationshipEvent model.
Includes the following datafields:
* `type = models.ChoiceField()`:The choices must accommodate all possible actions that can occur between two users.
* `occured_on = models.TimeDateField()`
There may be other datafields necessary, but these are critical.
The pirate_social module should have a number of templatetags as well:
templatetags
---
* pp_get_relationship events: takes two users and returns a list of relationship events. Possible arguments include "since_date" to only grab a list of events since a date, and start/end to slice the list.
* pp_get_follow_status: returns the follow status of user A following user B.
Original issue reported on code.google.com by fragro on 9 Feb 2011 at 4:59
Original issue reported on code.google.com by
fragro
on 9 Feb 2011 at 4:59