Admin interface template tags expect ADMIN_MEDIA_PREFIX to be a complete URL.
|Reported by:||Owned by:||nobody|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||yes|
|Needs tests:||no||Patch needs improvement:||no|
The template tags for django.contrib.admin, when correcting the relative urls for static data, either expect settings.ADMIN_MEDIA_PREFIX to be a complete URL instead of prepending it with settings.MEDIA_URL.
I've created a patch affecting admin_list.py, admin_modify.py, and adminmedia.py.
Change History (9)
comment:1 Changed 10 years ago by
|Triage Stage:||Unreviewed → Design decision needed|