Hello!
As generic relations have no equivalents in the world of SQL
relationships (1:1, 1:n, n:m), but it is rather a mix of DB technology
and programming language, there is no easy way to solve your problem.
Although you could combine something with lists of objects in Python
level.
Maybe the f
I went through GenericRelation's today as I was harassed several times
to, and I found nothing that would help at all for what I'm trying to
accomplish.
Here are the updated models:
class Score(models.Model):
content_type = models.ForeignKey(ContentType, db_index=True)
object_id
To add to this I wouldn't mind also making it include the ratingrel
table in the query (or seperate manager, maybe an option inside that
manager) so we can check if they user has already rated that object.
--~--~-~--~~~---~--~~
You received this message because yo
3 matches
Mail list logo