Skip to content

Commit 4edc775

Browse files
authored
load 100 questions (#36)
1 parent 2072a62 commit 4edc775

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

website/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131

3232
def home(request):
33-
questions = Question.objects.filter(status=1).order_by('date_created').reverse()[:10]
33+
questions = Question.objects.filter(status=1).order_by('date_created').reverse()[:100]
3434
context = {
3535
'categories': categories,
3636
'questions': questions

0 commit comments

Comments
 (0)