Bookmarks should show users that have them
cabe56 opened this issue · comments
Jose Varela commented
Should be able to see who has those bookmarks in their collection.
- Create relation model for user and bookmark (many users may have the same bookmark)
- Make a bookmark's users accesible through bookmark.users
- Show emails on bookmark (should link to user page)
- Separate bookmark view into partial (reuse this html in user's list of bookmarks so they look the same)
- Exclude user's email from names shown if you are seeing bookmarks on his page
Jose Varela commented
Read this article on data modeling with Appengine db.Model for more info on how to implement the relation between bookmarks and users.
Jose Varela commented
To implement bookmark.users checkout this User property for an example. The property should access users through the new relationship model.
Jose Varela commented
Check out jinja2 child templates to reuse html for bookmarks.