Skip to content

Commit 1a17893

Browse files
committed
Fix branch queries not using get
1 parent 17521a7 commit 1a17893

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

codespeed/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ def changes(request):
678678
for proj in Project.objects.filter(track=True):
679679
executables[proj] = Executable.objects.filter(project=proj)
680680
projectlist.append(proj)
681-
branch = Branch.objects.filter(name=proj.default_branch, project=proj)
681+
branch = Branch.objects.get(name=proj.default_branch, project=proj)
682682
revisionlists[proj.name] = list(Revision.objects.filter(
683683
branch=branch
684684
).order_by('-date')[:revlimit])

0 commit comments

Comments
 (0)