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)
>>
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
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 =
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
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 =
5 matches
Mail list logo