#30034: Shows wrong user on list_display in LogEntryAdmin
-------------------------------------+-------------------------------------
Reporter: Muslu Y. | Owner: nobody
Type: Bug | Status: new
Component: | Version: 2.1
contrib.admin | Keywords: logentry,
Severity: Normal | logentryadmin, list_display, wrong
Triage Stage: | user
Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Hi all;
Logs are listed wrongly at list records on page (list_display -
change_list.html).
For example;
Wrong user (username:muslu) in **/admin/admin/logentry/**
True user (username:admin) in **/admin/admin/logentry/1/change/**
{{{
class LogEntryAdmin(admin.ModelAdmin):
list_display = ['content_type', 'user', 'object_repr', 'action_time']
list_filter = ['user', 'content_type']
}}}
Django: 2.1.3
settings.AUTH_USER_MODEL: default
DATABASE_ROUTERS: at this system we are using 2 projects on different
servers but we are accessing both project from one SQL server. So we use
only one SQL user table. (Users are same for all projects.)
(router.AuthRouter)
--
Ticket URL: <https://code.djangoproject.com/ticket/30034>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/056.2b6e9975fac1246fa0c738aafafea15d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.