soynatan / django-easy-audit

Yet another Django audit log app, hopefully the simplest one.
GNU General Public License v3.0
719 stars 178 forks source link

easyaudit requestevent user_id is null #274

Open lvs071103 opened 6 months ago

lvs071103 commented 6 months ago

easyaudit requestevent user_id is null My Environment:

asgiref==3.5.2
Django==4.1.2
django-cors-headers==3.13.0
django-filter==22.1
djangorestframework==3.14.0
djangorestframework-simplejwt==5.2.2
PyJWT==2.6.0
PyMySQL==1.0.2
pytz==2022.6
sqlparse==0.4.3
tzdata==2022.7

image

Kibetchirchir commented 1 month ago

Which authentication method are you using? Also experienced the same. Easyaudit uses sessions to retrieve the user_Id. Is it possible to enable a way where one can set the user_id either on the local_thread?