Django Track User Activity

By Rich Jones

Tiny blog post!

Do you want to find the most recently logged in users in your Django application? Cool, no problem. You'll be filtering and sorting your most active users in no time.

Here's how you do it:

Then, to display the result,

And that's it! Handy little trick if you're trying to engage your active users with each other.

Enjoy!


See More Posts About:

Django


Posted by Rich Jones

LinkedIn Website