1. Rajeesh Punathil
  2. Django-monitor
  3. Issues
Issue #3 resolved

Respect custom model_admin querysets

Rajeesh Punathil
repo owner created an issue

Sometimes, developer may write custom queryset in some model_admins so that each user is able to view only a subset of all objects. eg, An admin-user can view only those objects she created herself. But our monitorentry changelist, Moderation Queue, which shows the counts of pending/challenged objects of moderated models counts all objects in database. It may confuse the user when the queue says that there are 10 pending objects but she is able to view 3 only. Even after moderating those 3 objects, system says there are 7 more pending!

Attached a diff for testing the issue.

Comments (1)

  1. Log in to comment