django-easy-audit
django-easy-audit copied to clipboard
user not recorded for requests when using a custom SESSION_ENGINE
trafficstars
I am building a system that uses a custom SESSION_ENGINE backed by a REST microservice instead of the standard database-backend session engine, and easy-audit does not record the user for requests.
Looks like the request_started_handler signal handler is using the Session model to look up the session instead of the app's configured SESSION_ENGINE. Is there a compelling reason for this?
I'm unsure. Would you be able to post a WIP PR showing the requested change?