I finally pinned down the problem; it was in an unrelated area. Thanks,
On Tue, Aug 31, 2010 at 5:59 PM, Christos Jonathan Hayward < christos.jonathan.hayw...@gmail.com> wrote: > I have an Entity which has a many-to-many field "tags" to Tags. I'm trying > to pin down a bug, and wanted a sanity check: > > entity = directory.models.Entity.objects.get(id = > int(search.group(1))) > entity.tags.remove(directory.models.Tag.objects.get(id = > int(search.group(2)))) > entity.save() > > Is the code above, with the .tags.remove() code, enough, or do both the > Entity and the Tag need to have a call to break the link? > > -- > [image: Christos Jonathan Hayward] <http://JonathansCorner.com> > Christos Jonathan Hayward, an Orthodox Christian author. > > Author Bio <http://JonathansCorner.com/author/> • > Books<http://CJSHayward.com/> > • *Email <christos.jonathan.hayw...@gmail.com>* • > Facebook<http://www.facebook.com/christos.jonathan.hayward> > • LinkedIn <http://www.linkedin.com/in/jonathanhayward> • > Twitter<http://twitter.com/JonathansCorner> > • *Web <http://JonathansCorner.com/>* • What's > New?<http://JonathansCorner.com/> > I invite you to visit my "theology, literature, and other creative works" > site. > > -- [image: Christos Jonathan Hayward] <http://JonathansCorner.com> Christos Jonathan Hayward, an Orthodox Christian author. Author Bio <http://JonathansCorner.com/author/> • Books<http://CJSHayward.com/> • *Email <christos.jonathan.hayw...@gmail.com>* • Facebook<http://www.facebook.com/christos.jonathan.hayward> • LinkedIn <http://www.linkedin.com/in/jonathanhayward> • Twitter<http://twitter.com/JonathansCorner> • *Web <http://JonathansCorner.com/>* • What's New?<http://JonathansCorner.com/> I invite you to visit my "theology, literature, and other creative works" site. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.