Re: List of Users online

2010-05-19 Thread Brian Neal
On May 19, 12:31 pm, EmileZola wrote: > I want to list the logged in users on my index page and was wondering > what was the right way to do this. > > Can I do it similar to this ? > def index(request): >     return render_to_response('index.html', { >         'online_users': User.objects.filter(l

List of Users online

2010-05-19 Thread EmileZola
I want to list the logged in users on my index page and was wondering what was the right way to do this. Can I do it similar to this ? def index(request): return render_to_response('index.html', { 'online_users': User.objects.filter(last_login > delay) }) delay being "now - 15 min

users online

2008-03-30 Thread dall
Can someone help me how to get users online thingy done right ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To u