@register.simple_tag
def admin_static_url():
 return (getattr(settings, 'ADMIN_MEDIA_PREFIX', None) or ''.join([settings.STATIC_URL, 'admin/']))

@ register . simple_tag def admin_static_url ( ) : return ( getattr ( settings , 'ADMIN_MEDIA_PREFIX' , None ) or '' . join ( [ settings . STATIC_URL , 'admin/' ] ) )
if set .