#34162: Wrong URL generated by get_admin_url in admin index "Recent Actions" 
panel
in custom Django Admin Site
------------------------------------+--------------------------------------
     Reporter:  Rigoberto Villalta  |                    Owner:  nobody
         Type:  Bug                 |                   Status:  closed
    Component:  contrib.admin       |                  Version:  4.0
     Severity:  Normal              |               Resolution:  duplicate
     Keywords:                      |             Triage Stage:  Unreviewed
    Has patch:  0                   |      Needs documentation:  0
  Needs tests:  0                   |  Patch needs improvement:  0
Easy pickings:  0                   |                    UI/UX:  0
------------------------------------+--------------------------------------

Comment (by Rigoberto Villalta):

 I don“t think is duplicate.
 What the ticket [https://code.djangoproject.com/ticket/17726 #17726]
 alleges is that if you change a {{{Model}}} A in a custom {{{Admin Site}}}
 and this {{{Model}}} is not register in other {{{Admin Site}}} instance,
 this shouldn't appear in the index of the other {{{Admin Site}}} instance.

 What I am trying to fix is that at least to point the {{{Logentry}}} in
 the index to the current {{{Admin Site}}}.
 I most said this bug only happens if you register the Default Admin Site
 in the project's {{{url.py}}} file:
 {{{
 path("super_admin/", admin.site.urls)
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34162#comment:2>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701848156362d-6c7be2c6-c900-4d5f-8215-9944e2eb95e8-000000%40eu-central-1.amazonses.com.

Reply via email to