-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: Stop Log Creation for Specific User in Django Auditlog #656
Comments
You can use |
I tried it but it seems like I couldn't access the user field's value that we see in the django-admin page's audit log tab. |
Why do you need to access these fields? in |
In the system I'm working with, there's no indication from either the sender or the instance itself that distinguishes whether a change originates from a physical device or a user. The 'system' user, which I aim to exclude, represents a device deployed in the field. It periodically sends data to our app, which we store in the database. To streamline my admin page, I need a method to differentiate and exclude logs generated by this device from user-generated logs. |
Right now, there is no config to prevent saving logs for a specific user. every log entry object has an |
I would like to prevent the creation of logs for a specific user when they perform actions in our Django application. Specifically, I want to exclude the user with the username 'system' from generating audit log entries. Is there any way to do this in this version? I found the issue #590 but couldn't figure out how to use recievers to do this.
The text was updated successfully, but these errors were encountered: