How can I track a user events in Django? -


i'm building small social site, , want implement activity stream in users profile display event's commenting, joining group, posting something, , on. basically, i'm trying make similar reddit profile shows range of user activity.

i'm not sure how i'd in django though. thought of maybe making "activity" model that's onetoone account, , update through middleware.

anyone here have suggestion? away implement in nice way?

in opinion, should you're saying, create model activity, has foreignkey user populate triggering things you'll find 'interesting'.

this practice, if redundant, speed page generation, , can add custom field hold text want display, , can keep track of generate activity.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -