ManyToMany relationship and raw sql queries

2013-04-11 Thread Matthieu Bouron
Hello, Is there a way to handle many-to-many relationship with raw sql queries ? I have the following model: from django.db import models class Tag(models.Model): name = models.CharField(max_length=512, unique=True) class Bookmark(models.Model): link = models.CharField(max_length=512)

Re: ManyToMany relationship and raw sql queries

2013-04-25 Thread Matthieu Bouron
On Thursday, April 11, 2013 5:39:57 PM UTC+2, Tom Evans wrote: > > On Thu, Apr 11, 2013 at 3:42 PM, Matthieu Bouron > > wrote: > > Hello, > > > > Is there a way to handle many-to-many relationship with raw sql queries > ? > > I have the following model: