anders pearson wrote:
> Without looking too closely at the rest, the error is because 
> you've imported the module, but haven't imported Make or the 
> other classes from the model. So you need to either do: 
> 
>    from model import Make,Model,Year,ModelYear

Thank! For a newbie, can you explain why "import mode" didn't bring in all
of those classes?  I've been reading Python in a Nutshell and I thought it
would...

> or you should refer to the class by a fully qualified name:
> 
>    m = model.Make()

I thought I tried that, but the code is on another machine.  Will try later.

-- 
-Mike Schinkel
http://www.mikeschinkel.com/blogs/
http://www.welldesignedurls.org
http://atlanta-web.org - http://t.oolicio.us


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to