On Fri, 2008-11-28 at 18:18 -0800, [EMAIL PROTECTED] wrote:
> I'm afraid my reality belies the blithe comment in the docs that the
> removal of ratings should only affect World Online.

That's an old joke for stuff that primarily was kept around only for
historical reasons. We realise that there could well be some number
greater than zero of other people using it, but it's always going to be
a small group.

>  For those of us
> who *were* using ratings, is there some recommended way for bringing
> ratings back?

The ability to replace the comments module with your own class is mostly
possible already. There are a couple of tickets in Trac that will be
applied before 1.1 (most likely a lot before) that will make this even
easier (right now you can't use all the template tags if you use a
custom class).

Alternatively, and this is something I've done for a client, you can
create a separate model that has a foreign key to the comments model in
question and stores the rating. You need to write a custom comments
entry form (since you are accepting extra information), but it's not too
fiddly to do. You don't need to change the CommentForm class at all,
since one HTML form can consist of many Django Form classes, so you just
make an extra subclass that accepts the rating information and deals
with that appropriately.

Regards,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to