Skip to content

Commit

Permalink
Merge pull request readthedocs#8417 from readthedocs/faster-audit-admin
Browse files Browse the repository at this point in the history
Don't filter on large items in the auditing sidebar.
  • Loading branch information
ericholscher authored Aug 17, 2021
2 parents e475637 + b65f319 commit 3b17881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readthedocs/audit/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class AuditLogAdmin(admin.ModelAdmin):

raw_id_fields = ('user', 'project')
search_fields = ('log_user_username', 'browser', 'log_project_slug')
list_filter = ('log_user_username', 'ip', 'log_project_slug', 'action')
list_filter = ('log_project_slug', 'action')
list_display = (
'action',
'log_user_username',
Expand Down

0 comments on commit 3b17881

Please sign in to comment.