Skip to content

"Django was not configured" since latest update #306

Closed
@GBrachetta

Description

@GBrachetta

Since the last update I get the error:

Django was not configured. For more information runpylint --load-plugins=pylint_django --help-msg=django-not-configured

First time I see it, no other settings changed.
I use pipenv, and I'm on VSCode.
My pip freeze:

appdirs==1.4.4
asgiref==3.3.1
astroid==2.4.2
black==20.8b1
click==7.1.2
Django==3.1.5
djangorestframework==3.12.2
flake8==3.8.4
isort==5.7.0
lazy-object-proxy==1.4.3
mccabe==0.6.1
mypy-extensions==0.4.3
pathspec==0.8.1
pycodestyle==2.6.0
pyflakes==2.2.0
pylint==2.6.0
pylint-django==2.4.2
pylint-plugin-utils==0.6
pytz==2020.5
regex==2020.11.13
six==1.15.0
sqlparse==0.4.1
toml==0.10.2
typed-ast==1.4.2
typing-extensions==3.7.4.3
wrapt==1.12.1

And my settings.json for pylint are:

"python.linting.pylintArgs": [
    "--load-plugins",
    "pylint_django",
    "--disable=C0114, C0115, W0222",
    "--disable=imported-auth-user",
    "--disable=invalid-name",
    "--disable=line-too-long"
],

Am I doing anything wrong here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions