def set_project_type_handler(project_type, project_type_handler):
 global PROJECT_TYPES
 PROJECT_TYPES[project_type] = project_type_handler

def set_project_type_handler ( project_type , project_type_handler ) : global PROJECT_TYPES PROJECT_TYPES [ project_type ] = project_type_handler
set a project type handler for the given project_type .