Answers for "unresolved import 'django.db'"

10

vscode not recognizing python import

# In .vscode/settings.json
"python.autoComplete.extraPaths": ["./path-to-your-code"],
Posted by: Guest on April-27-2020
2

python unresolved import vscode

# I use pylance now. I added this. Problem solved.
"python.analysis.extraPaths": ["./path-to-code/"],
# I tried this before, but not working. 
"python.autoComplete.extraPaths": ["./path-to-your-code"],
Posted by: Guest on September-25-2020
1

Unresolved reference 'django'

Go to Settings -> Project: -> Project Interpreter -> switch to the right path
Posted by: Guest on November-10-2020

Code answers related to "unresolved import 'django.db'"

Python Answers by Framework

Browse Popular Code Answers by Language