Answers for "vscode pylint error django model has no objects attribute"

7

post has no object memeber in django error

Install Django pylint:

pip install pylint-django
ctrl+shift+p > Preferences: Configure Language Specific Settings > Python

The settings.json available for python language should look like the below:

{
    "python.linting.pylintArgs": [
        "--load-plugins=pylint_django"
    ],

    "[python]": {

    }
}
Posted by: Guest on May-17-2020
3

model has no objects member django

1. pip install pylint-django
2. or pipenv install pylint-django
3. or pipenv install pylint-django --sequential
Posted by: Guest on March-18-2020

Code answers related to "vscode pylint error django model has no objects attribute"

Python Answers by Framework

Browse Popular Code Answers by Language