Why am I seeing the warning "Unresolved attribute reference 'objects' for class 'Foo'" for a class which is a subclass of Django's models.Model? This occurs wherever I use Foo.objects.filter(...).
Foo is defined as class Foo(models.Model). PyCharm gives no warnings for the import statements in either file.
from django.db import models
from models import Foo
inquiry = Foo.objects.filter(...) # PyCharm gives warning for objects here