Re: Komodo and Django - code completion / code intellisensing

2007-05-25 Thread Ceph

If your projects are in c:\django-projects\Project1, you would add "c:
\django-projects" as an include path. You must reference your modules
like:

from Project1.articles.models import Article

the "Project1" is important.

On May 10, 1:59 pm, oliver <[EMAIL PROTECTED]> wrote:
> Thanks, for both comments but still no luck.
> I tried multiple various but it still gives me the same error.
>
> my projects are in c:\django-projects\Project1..
>
> I installed the latest beta of komodo, but has the same thing.
> Python2.5 is installed in c:/python25 and is in my path (from the CMD
> i can start pyton any where)
>
> any other suggestions?
>
> thanks again for helping
>
> oli
>
> On May 10, 3:12 pm, Ceph <[EMAIL PROTECTED]> wrote:
>
> > Hello,
>
> > Go to Edit > Preferences. Expand the "Languages" group by clicking the
> > [+] symbol. Click "Python". Click the little "Add..." button under
> > "Additional Python Import Directories". Add the directory ABOVE your
> > project and you should have intellisense enabled.
>
> > On May 9, 12: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 django-users@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Komodo and Django - code completion / code intellisensing

2007-05-24 Thread ro

On 5/23/07, oliver <[EMAIL PROTECTED]> wrote:
>
> I have given up on komodo for now and moved to WingIDE.
> It does the code completion quite well, not to the extend that i would
> prefer as in including django specific functions. (if any one knows
> how to do that in wingide ??? would be handy!)

There is not SVN support in WingIDE , and I can not choose "FixedSys" font :(
What is the django specific functions? an function of komodo?

-- 
with kind regards

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Komodo and Django - code completion / code intellisensing

2007-05-23 Thread oliver

I have given up on komodo for now and moved to WingIDE.
It does the code completion quite well, not to the extend that i would
prefer as in including django specific functions. (if any one knows
how to do that in wingide ??? would be handy!)

thanks

On May 23, 3:13 am, ro <[EMAIL PROTECTED]> wrote:
> On May 11, 1:59 am, oliver <[EMAIL PROTECTED]> wrote:
>
>
>
> > Thanks, for both comments but still no luck.
> > I tried multiple various but it still gives me the same error.
>
> > my projects are in c:\django-projects\Project1..
>
> > I installed the latest beta ofkomodo, but has the same thing.
> > Python2.5 is installed in c:/python25 and is in my path (from the CMD
> > i can start pyton any where)
>
> > any other suggestions?
>
> > thanks again for helping
>
> > oli
>
> > On May 10, 3:12 pm, Ceph <[EMAIL PROTECTED]> wrote:
>
> > > Hello,
>
> > > Go to Edit > Preferences. Expand the "Languages" group by clicking the
> > > [+] symbol. Click "Python". Click the little "Add..." button under
> > > "Additional Python Import Directories". Add the directory ABOVE your
> > > project and you should have intellisense enabled.
>
> > > On May 9, 12:01 pm, oliver <[EMAIL PROTECTED]> wrote:
>
> > > > Hi i am evaluatingkomodoas 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,komodoide 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 inkomodo?
>
> > > > Thanks!- Hide quoted text -
>
> > - Show quoted text -
>
> I have the same problem with you.
> I think it is a bug of komodo


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Komodo and Django - code completion / code intellisensing

2007-05-22 Thread ro



On May 11, 1:59 am, oliver <[EMAIL PROTECTED]> wrote:
> Thanks, for both comments but still no luck.
> I tried multiple various but it still gives me the same error.
>
> my projects are in c:\django-projects\Project1..
>
> I installed the latest beta ofkomodo, but has the same thing.
> Python2.5 is installed in c:/python25 and is in my path (from the CMD
> i can start pyton any where)
>
> any other suggestions?
>
> thanks again for helping
>
> oli
>
> On May 10, 3:12 pm, Ceph <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hello,
>
> > Go to Edit > Preferences. Expand the "Languages" group by clicking the
> > [+] symbol. Click "Python". Click the little "Add..." button under
> > "Additional Python Import Directories". Add the directory ABOVE your
> > project and you should have intellisense enabled.
>
> > On May 9, 12:01 pm, oliver <[EMAIL PROTECTED]> wrote:
>
> > > Hi i am evaluatingkomodoas 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,komodoide 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 inkomodo?
>
> > > Thanks!- Hide quoted text -
>
> - Show quoted text -

I have the same problem with you.
I think it is a bug of komodo


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Komodo and Django - code completion / code intellisensing

2007-05-10 Thread oliver

Thanks, for both comments but still no luck.
I tried multiple various but it still gives me the same error.

my projects are in c:\django-projects\Project1..

I installed the latest beta of komodo, but has the same thing.
Python2.5 is installed in c:/python25 and is in my path (from the CMD
i can start pyton any where)

any other suggestions?

thanks again for helping

oli

On May 10, 3:12 pm, Ceph <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Go to Edit > Preferences. Expand the "Languages" group by clicking the
> [+] symbol. Click "Python". Click the little "Add..." button under
> "Additional Python Import Directories". Add the directory ABOVE your
> project and you should have intellisense enabled.
>
> On May 9, 12: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 django-users@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Komodo and Django - code completion / code intellisensing

2007-05-10 Thread Ceph

Hello,

Go to Edit > Preferences. Expand the "Languages" group by clicking the
[+] symbol. Click "Python". Click the little "Add..." button under
"Additional Python Import Directories". Add the directory ABOVE your
project and you should have intellisense enabled.

On May 9, 12: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 django-users@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Komodo and Django - code completion / code intellisensing

2007-05-10 Thread Paul Childs

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 django-users@googlegroups.com
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
-~--~~~~--~~--~--~---



Komodo and Django - code completion / code intellisensing

2007-05-09 Thread oliver

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 django-users@googlegroups.com
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
-~--~~~~--~~--~--~---