Thanks a lot Rajes, now I understand the situation better
On Fri, Jan 23, 2009 at 7:05 PM, Rajesh Dhawan wrote:
>
>>
>> class Tag(models.Model):
>> name = models.CharField(max_length=100)
>> related = models.ManyToManyField('self', symmetrical=False,
>> through='TagCorrelation', blank=
>
> class Tag(models.Model):
> name = models.CharField(max_length=100)
> related = models.ManyToManyField('self', symmetrical=False,
> through='TagCorrelation', blank=True)
>
> class TagCorrelation(models.Model):
> from_tag = models.ForeignKey(Tag, related_name='related_source')
>
Hi,
I have these two simple models defined (using today's trunk)
class Tag(models.Model):
name = models.CharField(max_length=100)
related = models.ManyToManyField('self', symmetrical=False,
through='TagCorrelation', blank=True)
class TagCorrelation(models.Model):
from_tag = models.
3 matches
Mail list logo