Am 17.02.2011 14:02 schrieb Christoph Zwerschke:
def groups_for_project(self, project):
return Project.query.join(Association).filter_by(
project_id=project.project_id, user_id=self.user_id).all()

Correction: that should be Group instead of Project of course.

-- Christoph

--
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en.

Reply via email to