Skip to content

Instance of 'list' has no 'first' member #174

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cristianocca opened this issue Jul 9, 2018 · 2 comments
Closed

Instance of 'list' has no 'first' member #174

cristianocca opened this issue Jul 9, 2018 · 2 comments

Comments

@cristianocca
Copy link

Python 3.6.6 (also 2.7.14)
pylint 1.9.2
pylint-django 0.11.1

Getting the title error on lines such as
user = User.objects.filter(email=data['email']).first()

Wasn't happening before, I can't tell what was the previous version since I only noticed this after re-creating a new virtualenv.

Any ideas? Is this only happening to me?

@ngtvspc
Copy link
Contributor

ngtvspc commented Jul 9, 2018

@cristianocca I think this is a duplicate of: #165

But no, you're not the only one who's seeing this

@atodorov
Copy link
Contributor

Yes, duplicate of #165

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants