django-easy-audit icon indicating copy to clipboard operation
django-easy-audit copied to clipboard

user not recorded for requests when using a custom SESSION_ENGINE

Open oldmanstick opened this issue 3 years ago • 1 comments
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?

oldmanstick avatar Jul 20 '22 18:07 oldmanstick

I'm unsure. Would you be able to post a WIP PR showing the requested change?

jheld avatar Aug 09 '22 03:08 jheld