Hardcoded url in admin
|Reported by:||riccardodivirgilio||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)
Changed 3 years ago by riccardodivirgilio
comment:1 Changed 3 years ago by riccardodivirgilio
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
comment:3 Changed 2 years ago by ramiro
- Resolution set to needsinfo
- Status changed from new to closed