Skip to content

Commit

Permalink
removed limiting allowing template to deal with it
Browse files Browse the repository at this point in the history
  • Loading branch information
brosner committed Feb 17, 2011
1 parent 007e614 commit 24a5112
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions agora/views.py
Expand Up @@ -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,
Expand Down

0 comments on commit 24a5112

Please sign in to comment.