This commit is contained in:
Oliver Walters 2019-05-02 21:29:27 +10:00
parent 1295390b03
commit 0be4ee5d92

View File

@ -33,7 +33,7 @@ class BuildIndex(ListView):
context = super(BuildIndex, self).get_context_data(**kwargs).copy()
context['active'] = self.get_queryset().filter(status__in=[Build.PENDING,])
context['active'] = self.get_queryset().filter(status__in=[Build.PENDING, ])
context['completed'] = self.get_queryset().filter(status=Build.COMPLETE)
context['cancelled'] = self.get_queryset().filter(status=Build.CANCELLED)