Objects that can be monitored should have a field for storing the number of users monitoring them.
Such cache value should be updated using django signal's (listening to save actions on instances of Monitoring model).
See also: MonitorizedItem.all_monitoring_count and MonitorizedItem.all_monitoring_users
Objects that can be monitored should have a field for storing the number of users monitoring them.
Such cache value should be updated using django
signal's (listening to save actions on instances of Monitoring model).See also:
MonitorizedItem.all_monitoring_countandMonitorizedItem.all_monitoring_users