Permalink
Browse files

removed limiting allowing template to deal with it

  • Loading branch information...
1 parent 007e614 commit 24a5112a14be611959750e29692a57a28dae1b8d @brosner brosner committed Feb 17, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 agora/views.py
View
@@ -30,9 +30,9 @@ def forums(request):
most_active_members = UserPostCount.objects.order_by("-count")[:5]
latest_posts = ForumReply.objects.order_by("-created")[:10]
- latest_threads = ForumThread.objects.order_by("-last_modified")[:10]
- most_active_threads = ForumThread.objects.order_by("-reply_count")[:10]
- most_viewed_threads = ForumThread.objects.order_by("-view_count")[:10]
+ latest_threads = ForumThread.objects.order_by("-last_modified")
+ most_active_threads = ForumThread.objects.order_by("-reply_count")
+ most_viewed_threads = ForumThread.objects.order_by("-view_count")
return render_to_response("agora/forums.html", {
"categories": categories,

0 comments on commit 24a5112

Please sign in to comment.