Re: My View doesn't seems to see my Models!

2007-12-08 Thread subgiambi
Malcolm, Thank you for a run-down of the standard practices for this group - I should have looked around first, to see what others had done :) But you did indeed solve my problem! I had a circular reference with views.py and models.py. Thanks again for the quick response! -Jeff --~--~-

Re: My View doesn't seems to see my Models!

2007-12-08 Thread Malcolm Tredinnick
On Sat, 2007-12-08 at 22:09 -0800, subgiambi wrote: > I have an application named "projects", with a models.py defining both > FVProject and Finance classes. But for some reason, my views.py in > the same folder throws a "global name 'FVProject' is not defined" > error when trying to import eith

My View doesn't seems to see my Models!

2007-12-08 Thread subgiambi
I have an application named "projects", with a models.py defining both FVProject and Finance classes. But for some reason, my views.py in the same folder throws a "global name 'FVProject' is not defined" error when trying to import either class! The following is at the top of my views.py: from m