edited middleware to also proces documents so user obj is connected

Is this needed? The request.path.startswith(reverse('admin:index')) should match all the /admin/XXX paths. It works (I thought) for all the other apps.