implemented multiple choice question functionality

This commit is contained in:
2013-08-24 22:12:41 +10:00
parent 685287c0c2
commit a4da2240d7
4 changed files with 34 additions and 5 deletions

View File

@@ -20,8 +20,7 @@ class IndexView(generic.ListView):
def get_queryset(self):
"""
Return the last five published polls (not including those set to be
published in the future).
Return the active samples
"""
return Sample.objects.filter(active=True)