When the user clicks on 'Users - Pending' in the picture below:
he should be redirected to the page with the filter by staff status set to 'No' and not 'All' which is the default. The url of that, which appears on clicking 'No' is this http://127.0.0.1:8000/admin/auth/pending/?is_staff__exact=0:
What do I need to change where to achieve this?
Add this def in your 'UserPendingAdmin' class: