Closed dum3ng closed 5 years ago
use conda as example:
conda
conda create -n myenv python=3.6
The linter and django plugin
pip install pylint pylint-django
If the django app src code is not in the root directory of the project, we may need to use PYTHONPATH variable to specify the path python to find out modules:
PYTHONPATH
# in .env file PYTHONPATH=django-app
install a python interpreter
use
conda
as example:install tools
The linter and django plugin
config the project
If the django app src code is not in the root directory of the project, we may need to use
PYTHONPATH
variable to specify the path python to find out modules: