mirror of
https://github.com/jazzband/django-auditlog.git
synced 2026-03-16 22:20:26 +00:00
Add actor username to search fields
This commit is contained in:
parent
c9fac5cfde
commit
33620c30a7
1 changed files with 1 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ class LogEntryAdmin(admin.ModelAdmin, LogEntryAdminMixin):
|
|||
"changes",
|
||||
"actor__first_name",
|
||||
"actor__last_name",
|
||||
"actor__username",
|
||||
]
|
||||
list_filter = ["action", ResourceTypeFilter]
|
||||
readonly_fields = ["created", "resource_url", "action", "user_url", "msg"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue