Re: How to get ManyTomManyField‘s value?

2008-06-25 Thread Daniel Roseman
On Jun 25, 6:33 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Not ManyToManyFieldTags !!! > > Flowing: > > class Test(models.model): > . > tags = ManyToManyField(Tag) > . > >def save(self): > >super(Test,self).save() > >p

Re: How to get ManyTomManyField‘s value?

2008-06-24 Thread [EMAIL PROTECTED]
Not ManyToManyFieldTags !!! Flowing: class Test(models.model): . tags = ManyToManyField(Tag) . def save(self): super(Test,self).save() print self.tags.count() # value is the last saved How can I get the value after the Test

How to get ManyTomManyField‘s value?

2008-06-24 Thread [EMAIL PROTECTED]
Flowing: class Test(models.model): . tags = ManyToManyFieldTags(Tag) . def save(self): super(Test,self).save() print self.tags.count() # value is the last saved How can I get the value after the Test object saved ??? --~--