﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
30034	Shows wrong user on list_display in LogEntryAdmin	Muslu Y.	nobody	"Hi;

This is my admin.py in custom application.

admin.py:

{{{

from django.contrib.admin.models import LogEntry

class LogEntryAdmin(admin.ModelAdmin):
    list_display = ['content_type', 'user', 'object_id', 'object_repr', 'action_time']
    date_hierarchy = 'action_time'
    list_filter = ['user', 'content_type']
    ordering =  ['-action_time']

    def has_add_permission(self, request):
        return False

    def has_change_permission(self, request, obj=None):
        return False

    def has_delete_permission(self, request, obj=None):
        return False

admin.site.register(LogEntry,LogEntryAdmin)

}}}


If I checked **/admin/app/model/1593/history/** and **/admin/admin/logentry/** on model's history, It's showing wrong user who changed record.

But when I entering **/admin/admin/logentry/2228/change/** then It's showing True user in page.

I added screen shots.
"	Bug	closed	contrib.admin	2.1	Normal	invalid	logentry, logentryadmin, list_display, wrong user		Unreviewed	0	0	0	0	0	0
