On Mon, Apr 20, 2009 at 7:48 PM, bax...@gretschpages.com
wrote:
>
> I'm trying to manually create an object (from a signal). My problem is
> that the object has a 'sites' M2M field:
>
> class News_item(models.Model):
> ...
> sites = models.ManyToManyField(Site)
> ...
>
> but when I try to
I'm trying to manually create an object (from a signal). My problem is
that the object has a 'sites' M2M field:
class News_item(models.Model):
...
sites = models.ManyToManyField(Site)
...
but when I try to create the object:
news = News_item(
.
2 matches
Mail list logo