def register_public_extension(url_prefix, extension_data):
 PUBLIC_EXTENSIONS[url_prefix] = extension_data

def register_public_extension ( url_prefix , extension_data ) : PUBLIC_EXTENSIONS [ url_prefix ] = extension_data
same as register_admin_extension but for public extensions .