def METHOD_NAME(request):
    """List all active projects."""
    METHOD_NAME = (
        Project.objects.visible()
        .visible_for(request.user)
        .prefetch_related("latest_translation__user")
        .order_by("name")
    )
    if not METHOD_NAME:
        return render(request, "no_projects.html", {"title": "Projects"})
    return render(
        request,
        "projects/projects.html",
        {"projects": METHOD_NAME, "top_instances": METHOD_NAME.get_top_instances()},
    )