def METHOD_NAME(project):
    key = "PROJECT_DASHBOARD_CLASS"
    dashboard_settings = getattr(settings, "A4_DASHBOARD", None)
    if dashboard_settings and key in dashboard_settings:
        dashboard_cls = import_string(dashboard_settings[key])
    else:
        dashboard_cls = ProjectDashboard
    return dashboard_cls(project)