def get_site_dict(app_name='filebrowser'):
 if (app_name not in _sites_cache):
  return {}
 deployed = get_resolver(get_urlconf()).app_dict[app_name]
 return dict(((k, v) for (k, v) in _sites_cache[app_name].items() if (k in deployed)))

def get_site_dict ( app_name = 'filebrowser' ) : if ( app_name not in _sites_cache ) : return { } deployed = get_resolver ( get_urlconf ( ) ) . app_dict [ app_name ] return dict ( ( ( k , v ) for ( k , v ) in _sites_cache [ app_name ] . items ( ) if ( k in deployed ) ) )
return a dict with all *deployed* filebrowser sites that have a given app_name .