#30034: Shows wrong user on list_display in LogEntryAdmin
-------------------------------------+-------------------------------------
     Reporter:  Muslu Y.             |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  contrib.admin        |                  Version:  2.1
     Severity:  Normal               |               Resolution:  needsinfo
     Keywords:  logentry,            |             Triage Stage:
  logentryadmin, list_display,       |  Unreviewed
  wrong user                         |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Carlton Gibson):

 Hi Muslu.

 There's still not enough to show Django is at fault here. `LogEntry`
 objects have a `user_id` field. That points to a user.


 You originally had this in your description:

 {{{
 Django: 2.1.3
 19              settings.AUTH_USER_MODEL: default
 20              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)
 }}}

 As soon as you mention this I suspect you're somehow NOT routing to the
 same users table each time. (But you need to investigate that: this isn't
 a support channel.)

 Happy to look at this if you can create a minimal project (using
 `startproject` and adding just what you need to) that reproduces the error
 and shows Django is at fault.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30034#comment:3>
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/071.c69371681871fe2f5298ac93c3ea2ba2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to