#19002: Hardcoded url in admin
------------------------------------+--------------------
     Reporter:  riccardodivirgilio  |      Owner:  nobody
         Type:  Uncategorized       |     Status:  new
    Component:  Uncategorized       |    Version:  1.4
     Severity:  Normal              |   Keywords:
 Triage Stage:  Unreviewed          |  Has patch:  0
Easy pickings:  0                   |      UI/UX:  0
------------------------------------+--------------------
 in django.contrib.admin.sites there are a lot or reverse url called with
 hard coded "admin:"
 for example reverse('admin:%s_%s_changelist'

 i've got multiple admin sites with different names, and without this patch
 the link do not works at all...

 they must be called with admin_site.name attribute instead... i attached a
 diff file

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19002>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to