On Wed, Nov 10, 2010 at 3:25 PM, Anderson Goulart <glo...@goulart.info>wrote:
> > Hello, > > I am just trying to modify django-admin templates and everything appears to > work except icon_calendar.gif which does not appear. I set > ADMIN_MEDIA_PREFIX = '/media_admin/' in settings.py, but it insists it is > not defined. The estrange thing is that icon_addlink.gif icon works > perfectly on the same page as I show below the 2 elements. > > <img src="/missing-admin-media-prefix/img/admin/icon_calendar.gif"> > > <img src="/media_admin/img/admin/icon_addlink.gif" width="10" height="10"> > > > Anybody has an idea what cause this problem? > > Looks like your admin base.html template is missing the bit of javascript that stores the admin media prefix on the window, see: http://code.djangoproject.com/changeset/13002 Karen -- http://tracey.org/kmt/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.