Re: following relationships forward in queries

2010-01-15 Thread Michael Thon
On Jan 15, 2010, at 11:26 AM, Daniel Roseman wrote: > On Jan 15, 9:40 am, Michael Thon wrote: >> Here is the Post model, from the feedjack app >> >> class Post(models.Model): >> feed = models.ForeignKey(Feed, verbose_name=_('feed'), null=False, >> blank=False) >>

Re: following relationships forward in queries

2010-01-15 Thread Daniel Roseman
On Jan 15, 9:40 am, Michael Thon wrote: > Here is the Post model, from the feedjack app > > class Post(models.Model): >     feed = models.ForeignKey(Feed, verbose_name=_('feed'), null=False, > blank=False) >     title = models.CharField(_('title'), max_length=255) >     link

Re: following relationships forward in queries

2010-01-15 Thread Michael Thon
Here is the Post model, from the feedjack app class Post(models.Model): feed = models.ForeignKey(Feed, verbose_name=_('feed'), null=False, blank=False) title = models.CharField(_('title'), max_length=255) link = models.URLField(_('link'), ) content =

Re: following relationships forward in queries

2010-01-15 Thread Daniel Roseman
On Jan 15, 5:43 am, Michael Thon wrote: > I have an Model with a field that is a oneToOne relationship with a model in > another app: > > class SensePost (models.Model): >     feedjackpost = models.OneToOneField(Post, blank=True, null=True) >     ... > > I'm trying to to

following relationships forward in queries

2010-01-14 Thread Michael Thon
I have an Model with a field that is a oneToOne relationship with a model in another app: class SensePost (models.Model): feedjackpost = models.OneToOneField(Post, blank=True, null=True) ... I'm trying to to write a filter query that uses fields in the related model: senseposts =