Closed pvdv closed 12 years ago
In the admin, the rooms table should give that information.
Op 13-07-11 11:39, peritus schreef:
In the admin, the rooms table should give that information.
I would like to have something on the commandline, what checks all chats. So I can see when all chats are not in use, and I can change things. Maybe I can check some table in a database, point is which one. Maybe the tigase database is an idea.
Is it possible to have some kind of django-admin command (from the commandline) to see where chats are going on?
Sure.
I've made simple scripts: hi-testchat
Works for now. Might be better to write a proper command in Django- admin for it, because the raw sql approach might break if the database changes in the future.
I need a way to see if a chat is "in use". I mean if somebody is logged in into the chat. For me it would be the best to have a way to check it on all chats. It would be also nice to see how many users are active in the chat.