Closed GDay closed 10 months ago
Using the get_user_model seems to overrule the user variable in the admin template, so I have changed it to request.user.
get_user_model
user
request.user
coverage: 93.841% (-0.01%) from 93.854% when pulling d475cb670da12b0fda4640774bfd7c95ad851ec9 on fix-request-user-variable-on-access-pages into 20c45a996b4e7c63de3c25a9b3d4f341003d76bb on master.
Using the
get_user_model
seems to overrule theuser
variable in the admin template, so I have changed it torequest.user
.