Hardcoded url in admin
|Reported by:||Riccardo Di Virgilio||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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
Change History (5)
comment:3 Changed 5 years ago by
|Status:||new → closed|