PyDev and Django: Autocomplete not detect Django?

I am using PyDev with Django. Autocomplete works well in the shell - I start typing, and it offers improvements. However, this does not work in the main window of the code editor. How can i fix this?

I use:

Eclipse build # 20100218-1602

PyDev 1.5.6

Eclipse IDE for Java Devs 1.2.2

+4
source share
2 answers

You may need to set the editor completion code settings. They are under:

Window->Preferences->PyDev->Editor->Code Completion

You may also need to add a Django installation or Django project to your path. You can install this under:

Window->Preferences->PyDev->Interpreter - Python

Hope this helps.

+8
source

Go to Window-> Settings-> PyDev-> Interpreters-> Python Interpreter

From libraries (System PYTHONPATH),

  • make sure the list contains lib / site-packages files.
  • Remove all references to lib / site-packages / Django
0
source

Source: https://habr.com/ru/post/1309490/


All Articles