implemented multiple choice question functionality
This commit is contained in:
parent
685287c0c2
commit
a4da2240d7
4 changed files with 34 additions and 5 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue