Appreciate your response, Shawn. I am a newbie and struggling.
Yea, but that is 'latest'. I need ascending descending order by
score/votes. Can't seem to figure that one out. That would go in the else
part. By default in my app, I want the comments to be sorted by vote/score.
else: #This is where I need to figure out how to get comments in order_by
score.
comments_all = Vote.objects.get_top(Comment, 100, False)
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.