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

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

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -