django-easy-audit
django-easy-audit copied to clipboard
Cannot get user in request events
First of all, thank you so much for the wonderful work. It is the best app for audit I have seen.
For the request events, currently it uses request_started_handler as the trigger and it can only get the auth information from cookies. But for restful application , often other authentication is used and no user can be recorded.
I wonder if it is easier to implement the trigger using the middleware way? As long as the middleware is placed after the authentication middleware, all the information needed should be presented.
This problem was also noted in #36. Currently, we are working on a couple of bugs, and I'll probably release a new version with the fixes. After that I'll get to work on #29 and this one.
Thank you for your comments! :)