diff options
author | Jayaram Pai | 2014-02-04 11:14:56 +0530 |
---|---|---|
committer | Jayaram Pai | 2014-02-04 11:14:56 +0530 |
commit | a7171dcf0a673c7643e95f1610d1ddbbc899a7d2 (patch) | |
tree | 479b0b15af0bdf0a98a3bced24c904fc84fe17b6 | |
parent | deab83c0c8f26c927e0d3a5eb801926a26fc8a30 (diff) | |
download | FOSSEE-Forum-a7171dcf0a673c7643e95f1610d1ddbbc899a7d2.tar.gz FOSSEE-Forum-a7171dcf0a673c7643e95f1610d1ddbbc899a7d2.tar.bz2 FOSSEE-Forum-a7171dcf0a673c7643e95f1610d1ddbbc899a7d2.zip |
temporarly removed the count of posts in website/views.py: home()
-rw-r--r-- | website/views.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/website/views.py b/website/views.py index 84012c0..f8cb04b 100644 --- a/website/views.py +++ b/website/views.py @@ -40,7 +40,8 @@ def home(request): total = Question.objects.all().count() total = int(total - (total % 10 - 10)) - questions = Question.objects.all().order_by('date_created').reverse()[marker:marker+10] + #questions = Question.objects.all().order_by('date_created').reverse()[marker:marker+10] + questions = Question.objects.all().order_by('date_created').reverse() context = { 'questions': questions, 'total': total, |