We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73326fa commit f4bcf7dCopy full SHA for f4bcf7d
pylint_django/augmentations/__init__.py
@@ -128,7 +128,8 @@ class ModelB(models.Model):
128
if (node_is_subclass(cls,
129
'django.db.models.manager.Manager',
130
'django.db.models.base.Model',
131
- '.Model')):
+ '.Model',
132
+ 'django.db.models.fields.related.ForeignObject')):
133
# This means that we are looking at a subclass of models.Model
134
# and something is trying to access a <something>_set attribute.
135
# Since this could exist, we will return so as not to raise an
0 commit comments