Thanks a lot.

it seems to work, now :-)

I don't know why, but I also had to remove PYTHONPATH environment
variable (my computer -> properties -> etc...)  in order for auto-
config to configure python-django properly...

Thanks again for your time,
Chris


On Nov 16, 10:33 am, Simone Dalla <simoda...@gmail.com> wrote:
> 2010/11/16 xpanta <xpa...@gmail.com>
>
>
>
> > 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 django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to