Skip to content

Project partials

hypha.apply.projects.views.project_partials

partial_project_activities

partial_project_activities(request, pk)
Source code in hypha/apply/projects/views/project_partials.py
@login_required
@require_GET
def partial_project_activities(request, pk):
    project = get_object_or_404(Project, pk=pk)
    has_permission("project_access", request.user, object=project, raise_exception=True)
    ctx = {"actions": get_related_actions_for_user(project, request.user)}
    return render(request, "activity/include/action_list.html", ctx)