Re: Many to Many challenges

2006-05-19 Thread Chris Moffitt
--SOLUTION--- > Anyway, let us know if you find something and I'll keep this turning > over in the back of my mind. I've been continuing to pull my hair out on this one & by chance was perusing the django-dev mailing list and saw this link - http://groups.google.com/group/django-developers/browse

Re: Many to Many challenges

2006-05-17 Thread Chris Moffitt
> > Anyway, let us know if you find something and I'll keep this turning > over in the back of my mind. > > The problem seems to lie in the find_field function as called from lookup_inner in query.py. When I throw in some print statements it looks like it's doing a find_field for article wi

Re: Many to Many challenges

2006-05-16 Thread Chris Moffitt
> Is your house built on an old burial ground? Because I'm willing to > entertain the possibility your computer might be possessed. :-) > > Hmm. Sometimes it's seems so but I'm pretty sure that's not the case. ;) > How are you running the webserver? Via 'manage.py runserver' or some > other

Re: Many to Many challenges

2006-05-16 Thread Chris Moffitt
> Cutting and pasting your code into a clean project directory with the > same Django code revision as yours, this all works for me. So, as you > suspect, the problem is not with your code as written. > > Can you try the same experiment: start a new app and cut and paste the > code as written her

Re: Many to Many challenges

2006-05-16 Thread Malcolm Tredinnick
On Tue, 2006-05-16 at 20:13 -0500, Chris Moffitt wrote: [...] > I created a brand new app from scratch (including a new MYSQL database) > copied just my models.py file over, typed the code and got the same result! > > I even tried the suggestion of clearing out all of the old .pyc files > and I

Re: Many to Many challenges

2006-05-16 Thread [EMAIL PROTECTED]
If you haven't done it already be sure to try this: http://www.mail-archive.com/django-users@googlegroups.com/msg06631.html It's a problem with svn updates leaving old .pyc files lying around. I noticed strange problems a couple of times that were fixed with this, so now I do it routinely after e

Re: Many to Many challenges

2006-05-16 Thread der . elminator
Hi, I am experiencing exactly the same error with the same trunk revision (2909). On irc no-one could really reproduce my django's behavior... I posted yesterday on this list (topic: "ManyToManyField reverse lookup not working"), but still don't have no clue why it doesn't work for me. Looking

Re: Many to Many challenges

2006-05-15 Thread Malcolm Tredinnick
Hi Chris, On Mon, 2006-05-15 at 20:44 -0500, Chris Moffitt wrote: > I seem to really be struggling with many-to-many and getting it all to > work. I'm using trunk (ver 2909) Here's the model I'm using- > > class Reporter(models.Model): > fname = models.CharField(maxlength=30) > lname =

Many to Many challenges

2006-05-15 Thread Chris Moffitt
I seem to really be struggling with many-to-many and getting it all to work. I'm using trunk (ver 2909) Here's the model I'm using- class Reporter(models.Model): fname = models.CharField(maxlength=30) lname = models.CharField(maxlength=30) class Admin: pass class Site(mo