Opened 15 years ago

Last modified 14 years ago

#277 closed enhancement

Enable "favoriting" of media — at Initial Version

Reported by: Aaron Williamson Owned by:
Priority: minor Milestone: 0.3.2
Component: programming Keywords: post-sql
Cc: Parent Tickets:

Description

Users should be able to mark media entries as favorites by clicking a button/link in the entry detail view (and probably from gallery views as well). This change will likely require the creation of a new "UserFavorite" model with a structure like:

{'user': user_id, 'media_entry': media_entry_id, 'created': datetime.datetime.now()}

...and also a new field on MediaEntry containing a count of UserFavorites for that entry (to avoid expensive queries to generate this number dynamically for every request).

Change History (0)

Note: See TracTickets for help on using tickets.