I'm just guessing here but do you have your project in your
pythonpath?
If not, try this...
To put the project on the sys.path you can do it two ways:
1. import sys and then write a line of code sys.path.append("path/to/
project/parent/directory") for example: if the project is located at c:
\idms_project\idms then the way to import would be:
sys.path.append(r"c:\idms_project"), or;
2. Follow the directions here:
http://www.imladris.com/Scripts/PythonForWindows.html
to add the path to the PYTHONPATH in the windows registry.
/Paul
On May 9, 1:01 pm, oliver <[EMAIL PROTECTED]> wrote:
> Hi i am evaluating komodo as my django/python ide but i can't get the
> code completion to work. It gives me this error:
>
> error evaluating 'models' at models.py#4: NameError: global name 'XXX'
> is not defined (C:\Prog..\Active..\lib\mozilla\python\komodo
> \codintel2\tree_python.py#169 in _members_from_elem) (error
> determining completions)
>
> I am on Windows XP, python 2.5, komodo ide 4.0, latest django svn.
> This error appears when you type for example:
>
> class ...
> name = models.
>
> right after the models "."
>
> any one got this to work or is this a general bug in komodo?
>
> Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---