2010/11/16 xpanta <[email protected]>

> Hi,
>
> I am using eclipse Galileo (Build id: 20100218-1602) and PyDev to
> build a Django project.
>
> Autocompletion works fine for python language but not for django. For
> example in models.py I cannot get the
> field = models.CharField(max_length=100) to be autocompleted.
>
> I have added path\to\python26\Lib\site-packages\django to my
> PYTHONPATH variables (system-wide and project-specific).
>
> what else should I do?
>
> (PS. I didn't create the django project through eclipse. I created
> using command line and then imported the project to eclipse later)
>
> Any help would be appreciated,
> Chris



Preferences --> PyDev --> Interpreter Python --> Auto Config

this reconfigure the PYTHONPATH for Eclipse. If you have Django installed
into your system, restart Eclipse and after autocompletion works fine.




-- 
Simo

- Registered Linux User #395060

- Software is like sex, it is better when it is free  --> Linus B. Torvalds

-- 
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.

Reply via email to