URLConf/ManytoManyField issue (exercise problem from Teach Yourself Django in 24 Hour)

2008-03-07 Thread Rilindo Foster
Hi! I am going Django (liking it so far), and I seem to hit a wall with one of the exercises. It likely because of my unfamiliarity with Python, so bear with me, please. At the end of Hour 6, I got two exercises to do: 1. Create an additional view for the People object that displays the Bl

Re: URLConf/ManytoManyField issue (exercise problem from Teach Yourself Django in 24 Hour)

2008-03-08 Thread Rilindo Foster
On Mar 8, 2008, at 7:04 AM, Evert Rol wrote: > > Have you checked what 'd' is here? It may be something different than > you'd expect or hope, in particular for the __dict__[d] lookup (not > sure what you're expecting here). > I would actually work with something like > Person.objects.filter(id=pI

Re: URLConf/ManytoManyField issue (exercise problem from Teach Yourself Django in 24 Hour)

2008-03-08 Thread Rilindo Foster
"from_person_id" integer NOT NULL REFERENCES "People_person" ("id") DEFERRABLE INITIALLY DEFERRED, "to_person_id" integer NOT NULL REFERENCES "People_person" ("id") DEFERRABLE INITIALLY DEFERRED, UNIQUE ("from_person_id",