def admin_media_prefix():
 try:
  from django.conf import settings
 except ImportError:
  return ''
 return settings.ADMIN_MEDIA_PREFIX

def admin_media_prefix ( ) : try : from django . conf import settings except ImportError : return '' return settings . ADMIN_MEDIA_PREFIX
returns the string contained in the setting admin_media_prefix .