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.
We match top developers with high-quality freelance and full-time jobs. Post a job.
Pssst.. do you want to write for gun.io? Or, do you have a blog you'd like to see syndicated here?
Get in touch firstname.lastname@example.org.