Re: Error working on many-to-many lookups

2010-08-26 Thread Christos Jonathan Hayward
Thanks. On Thu, Aug 26, 2010 at 9:08 AM, Alex Robbins wrote: > Jonathan, > > Pretty much any time you use __exact='text', you could use > ='text' instead. I think the orm treats those two cases the > same. (It adds __exact if there isn't another lookup specified. > > Alex > > On Aug 25, 1:37 pm,

Re: Error working on many-to-many lookups

2010-08-26 Thread Alex Robbins
Jonathan, Pretty much any time you use __exact='text', you could use ='text' instead. I think the orm treats those two cases the same. (It adds __exact if there isn't another lookup specified. Alex On Aug 25, 1:37 pm, Christos Jonathan Hayward wrote: > I think I found the problem; for the recor

Re: Error working on many-to-many lookups

2010-08-25 Thread Christos Jonathan Hayward
I think I found the problem; for the record, I wanted text__exact, not text__equals. On Wed, Aug 25, 2010 at 1:27 PM, Christos Jonathan Hayward < christos.jonathan.hayw...@gmail.com> wrote: > I am trying to get a many-to-many tagging setup working, and I am getting > an error which may or may not

Error working on many-to-many lookups

2010-08-25 Thread Christos Jonathan Hayward
I am trying to get a many-to-many tagging setup working, and I am getting an error which may or may not be an issue with many-to-many specifically. An Entity has a many-to-many field to Tag models; a Tag model only has one (declared) field, text, a TextField. My code: tag = directory.models.Tag.ob