Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DonnieBLT committed Oct 13, 2024
1 parent cf7192d commit e3b985b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/class_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def post(self, request, *args, **kwargs):
project = self.get_object() # Use get_object() to retrieve the current object
call_command("update_projects", "--project_id", project.pk)
messages.success(request, "Requested refresh to projects")
return redirect("project_detail", pk=project.pk)
return redirect("project_view", slug=project.slug)


class ProjectListView(ListView):
Expand Down

0 comments on commit e3b985b

Please sign in to comment.