I´m currently trying to use the comment framework and I´m trying to  
retrieve the last 10 comments given for postings by a specific user.

the lookup I´d like to have is:

select * from comments
join posting on comments.object_id = postings.id
join user on posting.user_id = user.id

more detailed:

I´m on the weblog-site of a user, so I have the users id (which is  
different from the logged-in user).
this user has postings and there are comments to this postings.
now, I´d like to have a list with the last 10 comments on this users  
postings.

I hope this is not too confusing.

thanks,
patrick
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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