def featured_map(request, site):
 map_obj = resolve_object(request, Map, {'featuredurl': site}, permission='base.view_resourcebase', permission_msg=_PERMISSION_MSG_VIEW)
 return map_view(request, str(map_obj.id))

def featured_map ( request , site ) : map_obj = resolve_object ( request , Map , { 'featuredurl' : site } , permission = 'base.view_resourcebase' , permission_msg = _PERMISSION_MSG_VIEW ) return map_view ( request , str ( map_obj . id ) )
the view that returns the map composer opened to the map with the given official site url .