Skip to content
This repository has been archived by the owner on Aug 20, 2018. It is now read-only.

Commit

Permalink
Bug 1051991 - Exclude batch tasks from front page
Browse files Browse the repository at this point in the history
  • Loading branch information
tesssie committed Jan 20, 2015
1 parent dba9505 commit 68fcc14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oneanddone/base/views.py
Expand Up @@ -12,7 +12,7 @@

class HomeView(TaskMustBeAvailableMixin, FilterView):
template_name = 'base/home.html'
queryset = Task.objects.filter(difficulty=Task.BEGINNER)
queryset = Task.objects.filter(difficulty=Task.BEGINNER, batch=None)
context_object_name = 'tasks'
paginate_by = 10
filterset_class = TasksFilterSet
Expand Down

0 comments on commit 68fcc14

Please sign in to comment.