def include_admin_script(script_path):
 if (not absolute_url_re.match(script_path)):
  script_path = ('%s%s' % (settings.ADMIN_MEDIA_PREFIX, script_path))
 return ('<script type="text/javascript" src="%s"></script>' % script_path)

def include_admin_script ( script_path ) : if ( not absolute_url_re . match ( script_path ) ) : script_path = ( '%s%s' % ( settings . ADMIN_MEDIA_PREFIX , script_path ) ) return ( '<script type="text/javascript" src="%s"></script>' % script_path )
returns an html script element for including a script from the admin media url .