cabe56 / bookmarks

Analyse list of bookmarks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bookmarks should show users that have them

cabe56 opened this issue · comments

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

Read this article on data modeling with Appengine db.Model for more info on how to implement the relation between bookmarks and users.

To implement bookmark.users checkout this User property for an example. The property should access users through the new relationship model.

Check out jinja2 child templates to reuse html for bookmarks.