T3 does it. It would be great if somebody where to take the code out
and build a module for it.

On Sep 11, 10:03 pm, Bottiger <bottig...@gmail.com> wrote:
> How would you go about making a generic comment or rating logic for
> any model?
>
> Say you have a bunch of models in different tables like this:
>
> Websites
> Plugins
> Links
> etc...
>
> How would you make a generic rating or commenting logic that could
> apply to websites/plugins/links or whatever other models you want? My
> thought would be to include the table name as a string field along
> with the primary key. Is there a better way?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to