thoughts about adding a user rating

2006-03-03 Thread Glenn Tenney
A site I'm developing could greatly benefit by having a user rating added to it... e.g. a 1-5 star rating for each post and then being able to display the top ten posts (perhaps additionally such as top ten added this week, or top ten on subject X, etc.) or other such "user scoring" uses. Before

Re: thoughts about adding a user rating

2006-03-03 Thread James Bennett
On 3/3/06, Glenn Tenney <[EMAIL PROTECTED]> wrote: > Or, ideas/thoughts/comments gladly accepted on how to structure the > models and views-code for this. Take a look at the comments app distributed with Django (django.contrib.comments), which has a rating system built in to it. -- "May the for

Re: thoughts about adding a user rating

2006-03-03 Thread Glenn Tenney
On Fri, Mar 03, 2006 at 03:02:32PM -0600, James Bennett wrote: > Take a look at the comments app distributed with Django > (django.contrib.comments), which has a rating system built in to it. Thanks, but it seems to me that it does a user voting (one up, or one down) rather than "I give this a 3

Re: thoughts about adding a user rating

2006-03-03 Thread James Bennett
On 3/3/06, Glenn Tenney <[EMAIL PROTECTED]> wrote: > Thanks, but it seems to me that it does a user voting (one up, or one > down) rather than "I give this a 3 star rating". This voting scheme > generates an int value that can easily be ordered_by, but I don't think > it's a user-friendly as, e.g

Re: thoughts about adding a user rating

2006-03-03 Thread Glenn Tenney
On Fri, Mar 03, 2006 at 04:50:37PM -0600, James Bennett wrote: > If it were an up-or-down, the ratings fields probably wouldn't be > PositiveSmallintegerFields, and the comments module's > get_rating_options method probably wouldn't use a 1-10 rating scale as > the example in its docstring ;) :-)