@register.filter
def fix_jsi18n(extrahead):
 return mark_safe(unicode(extrahead).replace(u'../../../jsi18n/', reverse('admin:jsi18n')))

@ register . filter def fix_jsi18n ( extrahead ) : return mark_safe ( unicode ( extrahead ) . replace ( u'../../../jsi18n/' , reverse ( 'admin:jsi18n' ) ) )
hack to rewrite out the jsi18n script tag from an inherited admin template .