On Tue, May 19, 2009 at 11:12 PM, Russell Keith-Magee
wrote:
> You're looking for a non-symmetrical m2m relation:
>
> http://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.ManyToManyField.symmetrical
>
Exactly what I was looking for, thanks!
--
Adam Olsen
http://www.vimtips.
On Wed, May 20, 2009 at 12:57 PM, Adam Olsen wrote:
>
> I'm trying to make a tagging application. I want to have tags that
> have related tags, ie, if they choose the tag 'car', it should also
> choose 'automobile'. If they choose 'automobile', it should not
> automatically choose 'car'. I'm u
I'm trying to make a tagging application. I want to have tags that
have related tags, ie, if they choose the tag 'car', it should also
choose 'automobile'. If they choose 'automobile', it should not
automatically choose 'car'. I'm using something like:
class Tag(models.Model):
name = models
3 matches
Mail list logo