A Comment class and the new GenericForeignKey() seems like a good
idea. Allows you to have one Comment model and have it applied to
other models (like Video and User).

  I haven't used the GenericForeignKey(), but from what I've read
about it... should fit your problem.


On 6/28/06, spako <[EMAIL PROTECTED]> wrote:
>
> is there a way to achieve this? or should i not bother and just do have
> a Comment Model and just have VideoComment and UserComment have a
> OneToOneField to Comment?

-- 
Julio Nobrega - http://www.inerciasensorial.com.br

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

Reply via email to