Pylint-django raising error about Django not being configured when that’s not the case (VSCode)
Add the –django-settings-module argument the VS Code settings: { “python.linting.pylintArgs”: [ […] “–django-settings-module=<mainapp>.settings”, ] } Change <mainapp> to be your main app directory. For example, if your settings.py was in sweetstuff/settings.py then the argument value would be sweetstuff.settings. This is the same format as you would import the settings module from inside a Python module … Read more