Well proper way of doing that in your case would be to use something like a
socket.io and have each page as a separate channel. Than you can on user
join/leave emit/push appropriate count.

Other way would be to hook on middleware http request and than update or
redis or database entry for that particular "page". Once you have that you
can long poll from javascript to update count.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAD1DFf0cN0xffQ4SOikn13vxj%2BrCdWVi%2B395-9f1vEt-er%2Br2Q%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to