Skip to content

Commit

Permalink
Fixed failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tsu-ki committed Nov 30, 2024
1 parent 3e176a2 commit dd3ea17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/views/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def post(self, request, *args, **kwargs):
if Project.objects.filter(slug=slug).exists():
messages.error(request, "A project with this slug already exists.")
return redirect("project_list")

project, created = Project.objects.get_or_create(
github_url=github_url,
defaults={
Expand Down

0 comments on commit dd3ea17

Please sign in to comment.