def get_admin_static_url():
 return getattr(settings, 'ADMIN_MEDIA_PREFIX', (get_static_url() + 'admin/'))

def get_admin_static_url ( ) : return getattr ( settings , 'ADMIN_MEDIA_PREFIX' , ( get_static_url ( ) + 'admin/' ) )
return the admin_media_prefix if it is in the settings .