soynatan / django-easy-audit

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

easyaudit requestevent user_id is null #274

Open lvs071103 opened 9 months ago

lvs071103 commented 9 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 4 months 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?